Hi
有可能实现dsp设备client profile alongside other custom profiles ?
I have modified the sample128 service to create my own, and I want to add serial communication as well.
Essentially I want to read and write characteristics of a service along with performing serial communication like DSPS as well. Is it possible ?
Thanks
Ankit
Keywords:
Device:
Hi ankitdaf,
I see no problem in doing this, for a quick test, i ve inserted all the neccessary files for the custs1 profile in the DSPS application and i was able to scan the device on an android application and see all the characteristics of both services, and transfer data with the DSPS anroid application as well.
Thanks MT_dialog
Hi
I tried doing that the other way around i.e. including the DSPS file in my already existing modified custom profile application. I managed to get it to work last night so that messages typed on DSPS Android app appear on the device UART, but struggling to do that vice versa. Can you tell me what is the callback function executed on the 580, if I type data on the computer (UART Tx) ?
Hi ankitdaf,
Most of the functions that are critical for the DSPS are listed in the Serial Port reference application UM-B-038, the callbacks that are called during reception and transmition are the uart_rx_callback() and uart_tx_callback().
Thanks MT_dialog