Write 3 x Class / Functions to be added to an existing flutter app

Job ID: 31800081

Budget: £750 – £1,500 GBP

Flutter requirements
It’s just 3 functions that need to be written from the existing source code.

1. Class/Function CBT_BLE_IOT_connectivity (Bluetooth connections)
1. Connect to BLE – Needs to be given the BLE SSID and reads the other BLE characteristics
2. Reconnect to BLE
3. Disconnect to BLE
Just need to write the function which connects to our Device checking that the SSID is SilverCross AQM and read the JSON string which is transmitted. This is already in the source code and in the app we’ve already built, you just need to package it into one function the Client’s app can call.

2. Class/Function CBT_BLE_IOT_Data (Bluetooth Data Exchange)
1. Read Data From BLE - JSON String on data from the AQM
2. Write Data to BLE - updates AQM on the App status (ACTIVE, BACKGROUND,SHUTDOWN) to conserver battery life of the AQM
The JSON string and device is already set up, we just need to hold that data so the client’s app can call individual components of the JSON string.

The Device’s firmware transmits a JSON string to the Mobile App. The JSON sting contains information of the device reading and battery status.
e.g. “pm1:99,pm25:99,pm10:99,voc:9.9,temp:99,humidity:99:DevM:ACT”
3. Class/Function CBT_Product_QRCode_Registration
1. Read QRCode
2. Register & Validate IoT device to CBT Platform – Still WIP
Read QR code is very simple. That data then needs to be able to be called.
This is the data that is in the QR code:

bleSsid. Silvercross-AQM
bleMacAddress 38:00:25:50:8F:ED
mfgDate 2021-May-28
mfgSerialNumber AQM-Z-12345
productName Silvercross Air Quality Monitor
productModel AQM-001
firmwareVersion AQM-Rev-999.10
Related categories: Dart Flutter