HI..i am trying to implement multilink central with nus service..but it is getting error at lbs_c_init();.what is the reason..can anyone help..i also changed the central link count..still no change
HI..i am trying to implement multilink central with nus service..but it is getting error at lbs_c_init();.what is the reason..can anyone help..i also changed the central link count..still no change
Hi,
What error are you getting?
Jared
Hi..now am trying ble_central and peripheral connection..ble_central sending data over ble_nus_c_string_send and it is receivd at peripheral and after that am sending a packet from peripheral to central and it is not receiving(BLE_NUS_C_EVT_NUS_TX_EVT,not receiving anything in central side)
Hi,
The Peer address can be stored after a BLE_GAP_EVT_CONNECTED has been generated. You can find the peer address in the ble_evt_t event structure. Note that most SoftDevice functions do not use the peer address to refer to the peer but rather the connection handle. The connection handle is assigned to the link of the peer during a connection event.
regards
Jared
So we have to add peer manager init()??
What exactly do you need the peer address for? Is there a specific function call where this is necessary to pass as a parameter? The peer manager is used bonding, pairing etc and is not necessary to use for storing the peer address. As I wrote in my previous reply:
Jared said:The Peer address can be stored after a BLE_GAP_EVT_CONNECTED has been generated. You can find the peer address in the ble_evt_t event structure. Note that most SoftDevice functions do not use the peer address to refer to the peer but rather the connection handle. The connection handle is assigned to the link of the peer during a connection event.




Hi jared..my central is connecting to multiple peripheral but the value is received from only the first connecting peripheral..what to do
What is the application on the central doing after it has received the first value? Try using the debugger and debug your application.
What is the application on the central doing after it has received the first value? Try using the debugger and debug your application.
hi jared, am using fanstel BW832 as central device..as it receives value from the peripheral it is passed through uart to the esp module connected to it.
Could you use a debugger and check what the central is doing after it has received the first value?
hi jared, after first device connected it goes to ble_nus_c_evt handler and enters into BLE_NUS_C_EVT_DISCOVERY_COMPLETE and enable nus service but when the the 2nd peripheral is on it is only connected and not enters into BLE_NUS_C_EVT_DISCOVERY_COMPLETE and nus service is not enabled..how to solve the issue.thats y i am not able to read and wriite into 2nd peripheral.how to solve the issue
can u plz rply fast
Hi jared, i hav solved the issue..it is with conn_handle..thankz for ur help