⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
6 posts / 0 new
Last post
Vivek
Offline
Last seen:2 years 5 months ago
加入:2017-07-08 07:11
BLE Beacon Scanner

Hi,

I am using the Alps BLE Module UGMZ2AA.
我需要开发一个应用程序which the device will be in BLE Beacon Scanner Mode always.
It will collect all the BLE Beacon Transmitters it can read and send the Beacon Payload with RSSI value of each of the Beacons.
It will send the above collected data to a Host processor using UART.

I am new to BLE application process.

Can you please guide me on where I can start and how to go about developing the BLE Beacon Scanner application.

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

Hi Vivek,

If you are interested on an application that will runs entirely on the 580, then you can have a look at the DSPS example on the host side that acts as a scanner, additionally if you are interested on an applications that runs on an external host you can have a look at the proximity monitor external application. For more info on the latter you can have a look at the Discontinued documents, SDK3 documents section the UM-B-010 Uset Manual : Proximity Example in Integrated and Extrernal Processor Solution.

Thanks MT_dialog

Vivek
Offline
Last seen:2 years 5 months ago
加入:2017-07-08 07:11
Thanks for the reply.

Thanks for the reply.

I have been looking at the DSPS example.
The device goes in to sleep mode and waiting for an external interrupt.
What pin is the External interrupt connected to?
Or the RX of the BLE module is enough to wake up the device from sleep.

MT_dialog
Offline
Last seen:2 months 2 weeks ago
Staff
加入:2015-06-08 11:34
Hi Vivek,

Hi Vivek,

The DSPS example doesn't wait for an external interrupt, the architecture used in order to send data is the following, when the external device wishes to send data to the 580 it stores the data in the UART FIFO as soon as the 580 is awake (due to a connection interval or an advertising interval) the 580 notifies the external device via the RTS signal that its awaken and the UART can send the data. To sum up the 580 notifes the external device via its RTS pin, it doesn't wakes up explictly everytime the external device has to send some data. That is why the DSPS demands h/w flow control in order to properly operate.

Thanks MT_dialog

Vivek
Offline
Last seen:2 years 5 months ago
加入:2017-07-08 07:11
Hi,

Hi,

Thanks for the response.
Let me list out the requirements of our project-

1. We have a host controller
2. We have the BLE Module
3. The Host controller communicates to BLE Module through UART
4. We are using Bootload method to load the SRAM each time on power up
5. We need the BLE Module to be a BLE Scanner
6. Switch On scanning for 5 secs every minute and check for BLE Beacons and then go back to sleep.

My question is what are the connectiones we would need between my host controller and the BLE Module.
As per your above reply I am assuming

1. Rx
2. Tx
3. RTS
4. CTS
5. GND

Am I missing anything here?

Thanks for all the help.

MT_dialog
Offline
Last seen:2 months 2 weeks ago
Staff
加入:2015-06-08 11:34
Hi Vivek,

Hi Vivek,

As far as i can understand by what you are describing, yes, the pins that you are mentioning are proper but i dont see what the DSPS has to do with the above, the BLE module would act act as a scanner in fully embedded mode, and it will just print out the available beacons scanned, so every time it will scan a BLE device will print the bd address, so i dont see a reason for using the RTS and CTS signals since the BLE module will report as soon as it has data, unless if i am missing something.

Thanks MT_dialog