Hi,
i am using nrf51822 custom board.
For our application i am using ble_app_hrs source code.
in that i have gpio interrupt for every 500ms, to get data from accelerometer and store in to local buffer.
i am writing these accelerometer data in to nor memory , once buffer get filled with 300 bytes.
and for every heart rate measurement timeout handler (in my case it is for every 15 seconds).
i am sending 140 bytes of data from nor to ble.
Q1. what will happen while data writing in to nor , if suddenly gpio interrupt came?. Q2. what will happen while data sending to ble from nor , if suddenly gpio interrupt came?. Q3. is data loss happen while sending data through ble ,if gpio interrupt came?.
in my case data is sending through ble for 2 to 3 times then it stop. there is no receiver link loss ,kindly suggest me.
but some times after 3 times of getting data. i got , [19:39:00.9] Lost connection to device. Reason: BTLE_CONNECTION_TIMEOUT [19:39:00.9] SERVER: Received packet <HciEvent: eventCode=0x0A> - HciEvent:eventCode=0x0A [19:39:00.9] SERVER: Received Link Loss
is it because of interrupts?
Regards Balaji