I'm trying to send data via BTLE to a peripheral device. Based on the content of a text message, the data being sent should be different.
For example:
- If I send "foo" then it sends the image "1.png" to the device.
- If I send "bar" then it should send another image.
So, If a text message is received by the phone with a specific content, can I parse/extract/filter the content of that message (in notification center) in some way?