hello,
inorder to send a string over ble from a slave to master or master to slave what is to be done?? is there any function for us to pass the string??
hello,
inorder to send a string over ble from a slave to master or master to slave what is to be done?? is there any function for us to pass the string??
Hello There, Since I had a lot of difficulty with this I will try my best to explain everything I know in the easiest way I could :)
For Bluetooth Low Energy (BLE) communication you have to follow a certain set of rules and regulations. Mainly GAP (for detecting the device and the initial handshake between the device and the client/ cellphone ) and GATT (for a full back and forth communication between the device and the slave) Take a look at this:
It will help if you get yourself familiar with the term "protocol stack."
Once you are done there take a look at the Nordic tutorial :
At the end what is responsible for sending information is the following function:
ble_nus_string_send(&m_nus, data_array, index);
Hello There, Since I had a lot of difficulty with this I will try my best to explain everything I know in the easiest way I could :)
For Bluetooth Low Energy (BLE) communication you have to follow a certain set of rules and regulations. Mainly GAP (for detecting the device and the initial handshake between the device and the client/ cellphone ) and GATT (for a full back and forth communication between the device and the slave) Take a look at this:
It will help if you get yourself familiar with the term "protocol stack."
Once you are done there take a look at the Nordic tutorial :
At the end what is responsible for sending information is the following function:
ble_nus_string_send(&m_nus, data_array, index);