Profile to send data over data channel

7 posts / 0 new
Last post
asmaitha
Offline
Last seen:5 years 3 months ago
Expert
Joined:2014-11-20 08:45
Profile to send data over data channel

Hello,
I would like to send some information over data/communication channel, which profile example can i use for my purpose?

Thanks,
asmaitha

Device:
MT_dialog
Offline
Last seen:2 months 5 days ago
Staff
Joined:2015-06-08 11:34
Hi asmaitha,

Hi asmaitha,

You can send information with all the bluetooth profiles. What are you trying to do? What kind of information are you trying to send and how fast? Maybe the dsps application would suit you.

Thanks MT_dialog

asmaitha
Offline
Last seen:5 years 3 months ago
Expert
Joined:2014-11-20 08:45
Hello MT_Dialog,

Hello MT_Dialog,
I would like to send around 100bytes of data in data channel, the scenario is like this : when the user presses a key 100bytes of data should be sent not over Advertising channel but it should be over data channel and on the Android mobile user should be able to receive that data.

Thanks,
asmaitha

asmaitha
Offline
Last seen:5 years 3 months ago
Expert
Joined:2014-11-20 08:45
Hello MT_Dialog,

Hello MT_Dialog,
To be more precise, the necessity is that first time when the device in ON I have to send a specific 100bytes of data over communication/data channel to my Android Mobile

Thanks,
asmaitha

MT_dialog
Offline
Last seen:2 months 5 days ago
Staff
Joined:2015-06-08 11:34
Hi asmaitha,

Hi asmaitha,

您可以使用定制的概要文件教程和修改the length of the second characteristic to the size you want in order to send data.

Thanks MT_dialog

asmaitha
Offline
Last seen:5 years 3 months ago
Expert
Joined:2014-11-20 08:45
Hello MT_Dialog,

Hello MT_Dialog,
Thanks for the reply.
I would like to know how can we enable any profile in Broadcast mode, so that once my device is ON it keeps broadcasting a message to all the devices in its vicinity.

Thanks,
asmaitha

MT_dialog
Offline
Last seen:2 months 5 days ago
Staff
Joined:2015-06-08 11:34
Hi asmaitha,

Hi asmaitha,

Try to change in app_adv_func the cmd->op.code = GAPM_ADV_NON_CONN. Please have a look in the beacon reference design as an example.

Thanks MT_dialog