React Native implementation of Bluetooth POS machine library
$30-250 USD
Closed
Posted over 6 years ago
$30-250 USD
Paid on delivery
The main goal of this task is to expose all methods from github repo and wrap on NativeModule package. Our objective is connect and operate an BLE (Bluetooth Low Energy aka.: Bluetooth 4.0) device through a NativeModule exposed methods.
Device info: [login to view URL]
GitHub repo with library and example: [login to view URL]
Docs: [login to view URL] (PT-BR)
Fist, we need to seek and connect to device, and then, be able to send payments commands to it. All methods are listed on official docs. There is an example named "pagcafe" within the repo.
Obs.: We are going to use this package on Android Things device (Raspberry Pi3). Android Things use the same methods from Android OS to seek and connect to BLE devices. Some examples:
Example running RPi3 as Bluetooth Server: [login to view URL]
Bluetooth GATT Server: [login to view URL]
We can consider the task done when:
1) A little example app can list and connect with BLE devices through native module
2) Establish connection with a device (in this case i will test with my POS machine)
3) Send payments and call for last payment info (basically, expose all methods from "PlugPag lib")
Obs.: Would be nice if you can test it on Android Things (DP-5.1) RPi3 device