Part Number: CC2642R
Other Parts Discussed in Thread: SYSBIOS
Tool/software: TI-RTOS
Dear all,
I am programming a BLE application with SimpleLink SDK. I am using CC2642R. With it, I can develop applications just like with my MSP432 using POSIX threads (pthread API). Or, you can use direct TI-RTOS API (tasks API). My question is twofold:
- The latter are lower level than the first ones. Do I understand this right?
- The BLE SimplePeripheral example calls SimplePeripheral_createTask() before BIOS_start(). Since I am more comfortable with pthreads API, can I enclose its main() code inside a thread and call the BIOS_start() in my own main(), where I create other threads? Does what I am saying have any sense? Or, should I discard the all pthread thing and use only tasks API?
Please let me know your opinions and have the nicest day.