Skip to main content
KMew
Senior III
July 19, 2024
Question

BlueNRG-M0A: Send Data to Phone Application when Phone is Locked

  • July 19, 2024
  • 2 replies
  • 749 views

Hello,

I am developing a phone application that interfaces with the BlueNRG-M0A bluetooth chip on our custom board, which utilizes an STM32F303RE MCU. 

We are sending data gathered by the MCU to the phone application periodically (time is flexible, but we're aiming for every 15 minutes). The problem we're running into is that, when the phone is locked, the information is not being received. It seems the phone does not allow applications to request data from the BLE when the phone is locked. I am looking for another method to do this and wanted to see if there was a function in the BlueNRG chip that would help overcome this. 

 

Is anyone aware of a method to send data via BLE to a locked phone?

2 replies

BarryWhit
Lead
July 19, 2024

That's an android (or iphone) question. Better try XDADevelopers or android stack exchange.

"- If someone's post helped resolve your issue, please thank them by clicking ""Accept as Solution"".- Please post an update with details once you've solved your issue. Your experience may help others."
Lead II
July 20, 2024

An iPhone APP programming question, right?

https://stackoverflow.com/questions/69548251/how-to-receive-send-bluetooth-data-on-ios-when-the-phone-is-locked

Is it working if iPhone is not locked?
Does it fail when iPhone get into lock mode?

An issue with the APP on iPhone (not pushing the Rx into background mode).