Home › Forums › Ask the Flomies › android sdk to control the Beep & disable floble plus sleep mode
Tagged: android, APDU, FloBLE Plus, sound
-
AuthorPosts
-
August 2, 2016 at 11:46 pm #56133
Hi Richard and Co,
I have received my purchased floble plus and got it working however I have a few question and issue on it.
Is there anyway to control the beep? For example my company is using Floble+ to do authentication. I want it to beep if authorized and double beep if unauthorized. Currently it beep every time the card is present or absent. Is there anyway to control it on the android side?
I realise that floble+ goes into sleep mode after x amount of time of inactive. Normally I need it to be awake at least 30min to 1 hour. Is there anyway to keep it awake as long as possible or at least a hour?
On the issue I am facing, if I keep scanning it with different card. Floble+ sometime light up both Batt and Comm. It look to me that it has “hang” or struck while sending the Apdu. After it “hang” it take like 10-30 second before it able to scan the next card. Is there anyway for me to detect this and call floble+ to restart/reset immediately instead of waiting 10-30 second?
Thank you
-Desmond
August 4, 2016 at 7:29 am #56146Hi Desmond,
There currently is no way to control the beep of your FloBLE Plus. This is the default configuration by the manufacturer and after reviewing the specifications, there is no way to configure this, other than to turn it on and off. You will likely need to use the audio player of the Android device for this alert.
You will be happy to hear that are adding power management capabilities to the SDK. You will need to update to Flomio SDK v2.1 which will be released in the coming 2 weeks.
This will give you the option to use Power Operation to control how startReader
and stopReader control your reader.
kAutoPollingControl to turn on/off NFC
kBluetoothConnectionControl to turn on/off Bluetooth connection
Also, the reader will not sleep by default and will only sleep when ‘sleep()’ is called.We have also solved some threading issues in this release which should resolve your issues with the reader ‘hanging’ while sending APDUs.
Kind Regards,
Scott -
AuthorPosts
You must be logged in to reply to this topic.