- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You can refer BLE-UART bridge example for your need.Here two Cypress devices are communicating over the air.
Regards,
Gyan