Tool/software: TI-RTOS
Hi,
I am looking for example code to use osal_snv_read and osal_snv_write operation. How can I use these function in Project Zero App code. I have read BLE Developer's guide - Section 3.10.3. When I implemented these function it returns invalid parameters.
I have read couple of forums but still it does not offer any clarity.
My questions are:
- Do I need to to call osal_snv_init function from APP? If yes, from where should I call it? As per my understanding this function is already called from BLE Stack.
- OSAL_SNV = 1 is set in BLE Stack (BLE SDK 2.2.1.18). It was already 1 , but I reprogrammed ble stack.
- Is there any particular order of calling osal_snv_read and osal_snv_write operation?
- status = osal_snv_write(0x80,10, (uint8_t *)write_buffer ) , Is this function call correct?
- It mentions that these operations are costly, How much time do I need to provide before calling any other functions?
- Can I call these functions from task functions?
- I only need to store 100 bytes of information once during configuration of device. Can I use osal read and write function or do I need something else
Thanks