Apr 11, 2022
07:08 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 11, 2022
07:08 PM
I would like to continue to discuss about below.
I modified https://github.com/Infineon/mtb-example-btsdk-rfcomm-spp-multi-port as follows. But I could not connect to more than 2 devices. Could you please advise how to modify.
hci_spp.c
1. Change "#define MAX_NUM_OF_SPP_CLIENTS" value from 2 to 4
2. Add "wiced_bt_spp_reg_t spp_reg3" and "wiced_bt_spp_reg_t spp_reg4"
3. Add "wiced_bt_spp_startup(&spp_reg3);" and "wiced_bt_spp_startup(&spp_reg3);" in "void hci_spp_init()"
wiced_bt_cfg.c
4. Change "Maximum Number of simultaneous RFCOMM ports/connections" from 2 to 4 in "const wiced_bt_cfg_settings_t wiced_bt_cfg_settings ="
spp_multi_port.h
5. Add "#define SPP_RFCOMM_SCN3 6" and "#define SPP_RFCOMM_SCN4 8"
Thanks,
Yasui
Labels
- Labels:
-
AIROC™ Bluetooth
3 Replies