Hey. I am new to this forum and new to programming BLE chips. I have ordered my first dev board and cant wait to get my hands on it. I have been reading a lot for the coupe of last days and there are very important things that I need to understand about this module before I proceed with my project.
The project requirements:
1. Sending data over to the server every 12hrs using GSM. The GSM module uses USART to talk between CPU and the GSM module. Since the BLE chip has one USART port available, I believe that should not be a problem right? The usart is probably used to flash the device but I can connect some external USART device to it?
2. Device will require to monitor some sensors. Ideally this needs to happen even while the device is in deep sleep mode to save as much energy as possible. I am slightly concerned whether when in power saving mode, any of the peripherals will be enabled such as SPI / I2C? If not, I guess my only option is to use a very low power sensor that is capable of generating an interrupt. I can then use that interrupt to wake up bluetooth module to do something. Am I right?
3. Device needs to be as low power as possible. My major concern is advertising. Since the device will be in sleep mode most of the time to save as much current. It also needs to be able to advertise and accept incoming connection. The user may want to connect to the device at any time and monitor real time status of the device through the android app or simmilar.
I have read multiple other simmilar threads about the advertising and sleep mode, and from what I understand that is not possible, but could not find any alternative suggestions? Can someone confrim whether is possible to wait for incoming BLE connection/advertising while saving power? What is the most convenient approach to do so?
I really appreciate any help! Thanks in advance