Designing the Monitoring App

The basic idea behind our setup is based on the system design we described in the Solution Design section previously. Our app behaves as the BLE + Wi-Fi Hub, reading data directly from the sensors planted on store/warehouse shelves and uploads it to the backend (Firebase) for monitoring purposes. 

A Note - We would be implementing a lot of functionality in this section. Please don't let that scare you. As a visual aid to give you a better understanding of the code that you would be implementing in this section, we have added a flowchart which outlines the flow of our App, towards the end of this section. Once you have implemented the code, we request you to review your code with the flowchart serving as a guidance tool. This will give you a much better understanding of the overall functionality of the App.

Following are the pre-requisites for this section,

Android:

  • Latest Android Studio
  • A Latest Android Device (Preferable Samsung Galaxy S8, since it has support for Bluetooth 5; otherwise Any Device with an API Level of 23(Android M) is fine)
  • Basic familiarity with Java and Android

iOS:

  • XCode 8.2
  • A latest iOS device (Our development device uses iOS 9.3.5)
  • Basic familiarity with Swift 2.3 and iOS

Hardware:

  • Texas Instruments CC2650 STK SensorTag

We request you to please do the following steps on a Mac based environment since then it would be possible to execute the steps for both Android and iOS on a single development environment.

Let's get started.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.141.8.247