We are using an nRF8001 with bonding. We are trying to figure out how big the dynamic data is that we need to store (since we are used a fixed-size storage in flash memory).
The file services.h generated by nRFgo Studio defines the constant ACI_DYNAMIC_DATA_SIZE.
The dynamic data is organized into packets consisting of a sequence number, a length byte, and up to 26 bytes of payload.
If I'm understandig the documentation correctly, the size of a packet is considered to be (length byte + payload) = 27.
So how many packets do we need to expect at maximum? Is it (ACI_DYNAMIC_DATA_SIZE / 27), rounded up?
PS: it would be helpful if nRFgo Studio would generate a constant such as ACI_DYNAMIC_DATA_MAX_PACKET_NUMBER.