#Region Service Attributes
#StartAtBoot: False
#End Region
Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
Dim Central As BLE_Central
Dim Peripheral As BLE_Peripheral
End Sub
Sub Service_Create
Log("BLE_Service created")
Central.Initialize
Peripheral.Initialize
End Sub
Sub Service_Start (StartingIntent As Intent)
Service.StopAutomaticForeground 'Call this when the background task completes (if there is one)
End Sub
Sub Service_Destroy
Log("BLE Service destroy")
End Sub