You are here

Cyble 022001-00 RSSI | Cypress Semiconductor

Cyble 022001-00 RSSI

Summary: 3 Replies, Latest post by GYAN on 27 Nov 2016 04:54 AM PST
Verified Answers: 0
Last post
Log in to post new comments.
jimenez.ramon_1842036's picture
User
5 posts

Good afternoon all!

I am a beginner programmer and was wondering how I could accomplish RSSI monitoring. I loaded the "Proximity" sample project which is somewhat close to what I would like to achieve. Basically I would want it to monitor RSSI and when it hits a certain value blink an LED (Only when below or under a specific preset number).

This is my first time programming so any help would be useful! I'm not sure if that is possible or if I need an interrupt-like setup every 1s to check RSSI value. 

Please help me as this is a final project! I greatly appreciate it!

gyan's picture
Cypress Employee
7 posts

Hi,

-> You can call CyBle_GetRssi() API in main infinite for loop (for{;;}).This function reads the recorded Received Signal Strength Indicator (RSSI) value for the last successfully received packet from the BLE radio sub-system.You can use if condition and when the RSSI value hits your required value ,blink the LED.

Regards,

Gyan

jimenez.ramon_1842036's picture
User
5 posts

Thank you Gyan. Is there any place I can get a walkthrough on connecting two devices with bluetooth? They are both Cypress BLE modules being programmed and only have to be connected to each other for communication. I've looked at examples like "proximity" and don't understand anything that is going on. I appreciate your assistance!

gyan's picture
Cypress Employee
7 posts

Hi,

You can refer BLE-UART bridge example for your need.Here two Cypress devices are communicating over the air.

https://github.com/cypresssemiconductorco/PSoC-4-BLE/tree/master/100_Pro...

Regards,

Gyan

Log in to post new comments.