My inability to understand this is frustrating. Have read and re read
https://atadiat.com/en/e-bluetooth-low-energy-ble-101-tutorial-intensive-introduction/ a few times but still none the wiser.
Normally I can figure out something eventually if I have some working code to unpick. The BLEExample establishes a connection but it is not clear how to actually send and receive data other than details of the module. With RS232 I get an interrupt and go to retrieve the data. Is there a comparable event with BLE ?
With the module configured to be “uart transparent” The read data button reports Microchip, RN487x, 0000, 5505 102_BLDK3, 01040101, 1.18. Do one of these represent the service or the characteristic ? Plainly Microchip is the manufacturer, RN487x the model and 1.18 the version.
In an attempt to achieve something I note BLE2 has a member ReadRemoteRssi but how do I access the Rssi
adding
Private Sub Butrssi_Click
manager.ReadRemoteRssi
Log("RSSI")
End Sub
Sub RssiAvilible(Succsess As Boolean,Rssi As Double)
If Succsess=True Then Log("sucsess")
Log(Rssi)
End Sub
Reports that RssiAvialable is not used
To get data transferred is it just a case of calling ReadData and WriteData and then retrieve the data from a DataAvialable event ?
Please someone must have a simple working example