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
Hi,
Could you please share your modified example code as well?
Thanks,
-Dheeraj.P.K