5 years agoPosted by jamartin 0 points 6 replies
I am trying to create an application that acts as the server of a serial port connection. To do this I am creating a custom profile with two characteristics:
Tx: sends 1 byte of data from the server to the client.
Rx: sends 1 byte of data from the client to the server.
I have followed tutorial 4 (creating a custom profile), but it only explains how to create characteristics that can be written to.
Clearly, Tx needs to be read from but I can't seem to find any examples of how to read from a characteristic on the website or in the example projects.
I also can't use sample128 as that is designed for SDK 3 and I am using SDK 5.
Could you point me in the right direction for some examples?