AWS IoT Device SDK C: Platform
Platform portability layer
Return to main page ↑
Related Pages
Here is a list of all related documentation pages:
[detail level 123]
 ConfigurationConfiguration settings of the platform layer
 ClockTime-related functions used by libraries in this SDK.
 Thread ManagementThreading and synchronization functions used by libraries in this SDK.
 NetworkingAbstraction of network functions used by libraries in this SDK.
 MetricsFunctions for retrieving Device Defender metrics.
 AtomicsAtomic operations: small inlined functions used for atomically manipulating memory
 FunctionsFunctions of the platform layer
 ClockFunctions of the platform clock component
 IotClock_GetTimestringGenerates a human-readable timestring, such as "01 Jan 2018 12:00".
 IotClock_GetTimeMsReturns a nonzero, monotonically-increasing system time in milliseconds.
 IotClock_SleepMsDelay for the given number of milliseconds.
 IotClock_TimerCreateCreate a new timer.
 IotClock_TimerDestroyFree resources used by a timer.
 IotClock_TimerArmArm a timer to expire at the given relative timeout.
 NetworkingFunctions of the network abstraction component
 IotNetworkInterface_t::createCreate network connection.
 IotNetworkInterface_t::setReceiveCallbackSet receive callback.
 IotNetworkInterface_t::setCloseCallbackSet close callback.
 IotNetworkInterface_t::sendSend data.
 IotNetworkInterface_t::receiveBlock and wait for receive data.
 IotNetworkInterface_t::closeClose network connection.
 IotNetworkInterface_t::destroyDestroy network connection.
 IotNetworkReceiveCallback_tProvide an asynchronous notification of incoming network data.
 IotNetworkReceiveCallback_tProvide an asynchronous notification of incoming network data.
 Thread ManagementFunctions of the platform thread management
 Iot_CreateDetachedThreadCreate a new detached thread, i.e. a thread that cleans up after itself.
 IotMutex_CreateCreate a new mutex.
 IotMutex_DestroyFree resources used by a mutex.
 IotMutex_LockLock a mutex. This function should only return when the mutex is locked; it is not expected to fail.
 IotMutex_TryLockAttempt to lock a mutex. Return immediately if the mutex is not available.
 IotMutex_UnlockUnlock a mutex. This function should only return when the mutex is unlocked; it is not expected to fail.
 IotSemaphore_CreateCreate a new counting semaphore.
 IotSemaphore_DestroyFree resources used by a semaphore.
 IotSemaphore_GetCountQuery the current count of the semaphore.
 IotSemaphore_WaitWait on (lock) a semaphore. This function should only return when the semaphore wait succeeds; it is not expected to fail.
 IotSemaphore_TryWaitAttempt to wait on (lock) a semaphore. Return immediately if the semaphore is not available.
 IotSemaphore_TimedWaitAttempt to wait on (lock) a semaphore with a timeout.
 IotSemaphore_PostPost to (unlock) a semaphore. This function should only return when the semaphore post succeeds; it is not expected to fail.
 MetricsFunctions of the platform metrics component
 IotMetrics_InitOne-time initialization function for the platform metrics component.
 IotMetrics_CleanupOne-time deinitialization function for the platform metrics component.
 IotMetrics_GetTcpConnectionsRetrieve a list of active TCP connections from the system.
 AtomicsFunctions of the platform atomics component
 Atomic_CompareAndSwap_u32Performs an atomic compare-and-swap operation on the given values.
 Atomic_Swap_PointerAtomically writes a pointer value to memory.
 Atomic_CompareAndSwap_PointerPerforms an atomic compare-and-swap operation on the given pointers.
 Atomic_Add_u32Performs an atomic addition of the given values.
 Atomic_Subtract_u32Performs an atomic subtraction of the given values.
 Atomic_Increment_u32Atomically adds 1 to the given value.
 Atomic_Decrement_u32Atomically subtracts 1 from the given value.
 Atomic_OR_u32Performs an atomic bitwise OR of the given values.
 Atomic_XOR_u32Performs an atomic bitwise XOR of the given values.
 Atomic_AND_u32Performs an atomic bitwise AND of the given values.
 Atomic_NAND_u32Performs an atomic bitwise NAND of the given values.