有可能实现dsp设备client profile alongside other custom profiles ?

4 posts / 0 new
Last post
ankitdaf
Offline
Last seen:2 years 9 months ago
加入:2015-09-03 20:14
有可能实现dsp设备client profile alongside other custom profiles ?

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

Device:
MT_dialog
Offline
Last seen:2 months 1 week ago
Staff
加入:2015-06-08 11:34
Hi ankitdaf,

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

ankitdaf
Offline
Last seen:2 years 9 months ago
加入:2015-09-03 20:14
Hi

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) ?

MT_dialog
Offline
Last seen:2 months 1 week ago
Staff
加入:2015-06-08 11:34
Hi ankitdaf,

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

Topic locked