This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/CC2650: Example usage of osal_snv_read and osal_snv_write

Part Number: CC2650

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:

  1.  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.
  2. OSAL_SNV = 1 is set in BLE Stack (BLE SDK 2.2.1.18). It was already 1 , but I reprogrammed ble stack.
  3. Is there any particular order of calling osal_snv_read and osal_snv_write operation?
  4. status = osal_snv_write(0x80,10, (uint8_t *)write_buffer )  , Is this function call correct?
  5. It mentions that these operations are costly, How much time do I need to provide before calling any other functions?
  6. Can I call these functions from task functions?
  7. 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