Modify the DSPS to activate advertise for comand

5 posts / 0 new
Last post
Jonas Freitas
Offline
Last seen:3 years 2 weeks ago
加入:2014-11-14 12:23
Modify the DSPS to activate advertise for comand

下午好,
I'm using the pan1740 together with a microcontroller cortex m4, and I wonder how to modify the DSPS to perform the following tasks on command or GPIO:

* Receive the uart command to start and end advertive;
* Enable the DSPS by a GPIO;
* go into sleep mode or deep sleep also by a GPIO;

Since already thank

Device:
MT_dialog
Offline
Last seen:1 week 1 hour ago
工作人员
加入:2015-06-08 11:34
Hi Jonas Freitas

Hi Jonas Freitas

If i undestand correctly, you want to load the DSPS application firmware in your chip and then send commands through the UART in order to start advertise or go to sleep mode etc. The DSPS is a full hosted application that runs exclusively on the DA. You want to create a fully embeded solution, and the DA to accept commands from the M4 ?

I suppose that you can implement the above task but its not just a modification of the DSPS firmware. You can mimic the DSPS application to your M4 and send the appropriate commands to the DA from GTL. See the proximity example (prox_monitor_ext) and the appropriate windows host application that sends commands through uart to the da. The thing is though that there isn't a command to the da that forces it in deep or extended sleep

如果你不't want this kind of thing, another case that i can think of, is to toggle some GPIO's from the M4 create, modify and call the corresponding functions in the interrupt service routines. As far as the sleeping is concern i have to inform you that in the current implementation the device never sleep permanenty, instead it always wakes up to keep the link alive.

Thanks MT_dialog

Jonas Freitas
Offline
Last seen:3 years 2 weeks ago
加入:2014-11-14 12:23
Grateful,

Grateful,
actually DSPS will be shipped in the DA (pan1740), the M4 cortex will only see him as a serial communication channel, which through some command or GPIO he initiated the DSPs service and advertise, as well as commands to disable . These to replace the part of a competitor who performs these tasks.

Jonas Freitas
Offline
Last seen:3 years 2 weeks ago
加入:2014-11-14 12:23
I would like to forward the

I would like to forward the code source of the .apk of DSPS?jonas.freitas@senairs.org.br

JE_Dialog
Offline
Last seen:17 min 36 sec ago
工作人员
加入:2013-12-05 14:02
Hello Jonas, I have sent you

Hello Jonas, I have sent you an electronic SLA to accept for the source code for the DSPS. BR JE_DIalog