Mbed OS Reference
Loading...
Searching...
No Matches
Deprecated List
Global BLE::DEFAULT_INSTANCE
BLE singleton supports one instance. You may create multiple instances by using the constructor.
Global BLE::getInstanceID () const
"BLE singleton supports one instance. You may create multiple" "instances by using the constructor." [since "mbed-os-6.3.0" ]
Global BLE::Instance (InstanceID_t id)
"BLE singleton supports one instance. You may create multiple" "instances by using the constructor. Please use BLE::Instance()." [since "mbed-os-6.3.0" ]
Global BLE::InstanceID_t
BLE singleton supports one instance. You may create multiple instances by using the constructor.
Global BLE::NUM_INSTANCES
BLE singleton supports one instance. You may create multiple instances by using the constructor.
Global ConditionVariable::wait_for (uint32_t millisec)

Pass a chrono duration, not an integer millisecond count. For example use 5s rather than 5000.

"Pass a chrono duration, not an integer millisecond count. For example use `5s` rather than `5000`." [since "mbed-os-6.0.0" ]

Global ConditionVariable::wait_until (uint64_t millisec)

Pass a chrono time_point, not an integer millisecond count. For example use Kernel::Clock::now() + 5s rather than Kernel::get_ms_count() + 5000.

"Pass a chrono time_point, not an integer millisecond count. For example use `Kernel::Clock::now() + 5s` rather than `Kernel::get_ms_count() + 5000`." [since "mbed-os-6.0.0" ]

Global Event< void(ArgTs...)>::delay (int d)

"Pass a chrono duration, not an integer millisecond count. For example use `5s` rather than `5000`." [since "mbed-os-6.0.0" ]

Pass a chrono duration, not an integer millisecond count. For example use 5s rather than 5000.

Global Event< void(ArgTs...)>::period (int p)

"Pass a chrono duration, not an integer millisecond count. For example use `5s` rather than `5000`." [since "mbed-os-6.0.0" ]

Pass a chrono duration, not an integer millisecond count. For example use 5s rather than 5000.

Global EventQueue::dispatch (int ms=-1)
"Use dispatch_for() to pass a chrono duration, not an integer millisecond count. For example use `5s` rather than `5000`." [since "mbed-os-6.7.0" ]
Global GattClient::ReadCallback_t
Use the version in global ble namespace.
Global GattClient::ReadCallbackChain_t
Use the version in global ble namespace.
Global GattClient::WriteCallback_t
Use the version in global ble namespace.
Global GattClient::WriteCallbackChain_t
Use the version in global ble namespace.
Global GattServer::EventHandler::onConfirmationReceived (const GattConfirmationReceivedCallbackParams &params)
"This event is never triggered. Indication triggers onDataSent" "when confirmation is received." [since "mbed-os-6.11.0" ]
Global GattServer::onConfirmationReceived (EventCallback_t callback)
"Individual callback-registering functions have" "been replaced by an event handler. Indication confirmation triggers" "GattServer::onDataSent event instead." [since "mbed-os-6.3.0" ]
Global GattServer::onDataRead (const DataReadCallback_t &callback)
"Individual callback-registering functions have" "been replaced by GattServer::setEventHandler. Use that function instead." [since "mbed-os-6.3.0" ]
Global GattServer::onDataRead (T *objPtr, void(T::*memberPtr)(const GattReadCallbackParams *context))
"Individual callback-registering functions have" "been replaced by GattServer::setEventHandler. Use that function instead." [since "mbed-os-6.3.0" ]
Global GattServer::onDataRead ()
"Individual callback-registering functions have" "been replaced by GattServer::setEventHandler. Use that function instead." [since "mbed-os-6.3.0" ]
Global GattServer::onDataSent (const DataSentCallback_t &callback)
"Individual callback-registering functions have" "been replaced by GattServer::setEventHandler. Use that function instead." [since "mbed-os-6.3.0" ]
Global GattServer::onDataSent (T *objPtr, void(T::*memberPtr)(unsigned count))
"Individual callback-registering functions have" "been replaced by GattServer::setEventHandler. Use that function instead." [since "mbed-os-6.3.0" ]
Global GattServer::onDataSent ()
"Individual callback-registering functions have" "been replaced by GattServer::setEventHandler. Use that function instead." [since "mbed-os-6.3.0" ]
Global GattServer::onDataWritten (const DataWrittenCallback_t &callback)
"Individual callback-registering functions have" "been replaced by GattServer::setEventHandler. Use that function instead." [since "mbed-os-6.3.0" ]
Global GattServer::onDataWritten (T *objPtr, void(T::*memberPtr)(const GattWriteCallbackParams *context))
"Individual callback-registering functions have" "been replaced by GattServer::setEventHandler. Use that function instead." [since "mbed-os-6.3.0" ]
Global GattServer::onDataWritten ()
"Individual callback-registering functions have" "been replaced by GattServer::setEventHandler. Use that function instead." [since "mbed-os-6.3.0" ]
Global GattServer::onShutdown (T *objPtr, void(T::*memberPtr)(const GattServer *))
"Individual callback-registering functions have" "been replaced by GattServer::setEventHandler. Use that function instead." [since "mbed-os-6.3.0" ]
Global GattServer::onShutdown (const GattServerShutdownCallback_t &callback)
"Individual callback-registering functions have" "been replaced by GattServer::setEventHandler. Use that function instead." [since "mbed-os-6.3.0" ]
Global GattServer::onShutdown ()
"Individual callback-registering functions have" "been replaced by GattServer::setEventHandler. Use that function instead." [since "mbed-os-6.3.0" ]
Global GattServer::onUpdatesDisabled (EventCallback_t callback)
"Individual callback-registering functions have" "been replaced by GattServer::setEventHandler. Use that function instead." [since "mbed-os-6.3.0" ]
Global GattServer::onUpdatesEnabled (EventCallback_t callback)
"Individual callback-registering functions have" "been replaced by GattServer::setEventHandler. Use that function instead." [since "mbed-os-6.3.0" ]
Global I2C::write (int data)
"Use I2C::write_byte() instead for better readability and return codes" [since "mbed-os-7.0" ]
Global Mail< T, queue_sz >::alloc (MBED_UNUSED uint32_t millisec=0)

"Replaced with try_alloc. In future alloc() will be an untimed blocking call." [since "mbed-os-6.0.0" ]

Replaced with try_alloc. In future alloc() will be an untimed blocking call.

Global Mail< T, queue_sz >::alloc_for (uint32_t millisec)

Pass a chrono duration, not an integer millisecond count. For example use 5s rather than 5000.

"Pass a chrono duration, not an integer millisecond count. For example use `5s` rather than `5000`." [since "mbed-os-6.0.0" ]

Global Mail< T, queue_sz >::alloc_until (uint64_t millisec)

Pass a chrono time_point, not an integer millisecond count. For example use Kernel::Clock::now() + 5s rather than Kernel::get_ms_count() + 5000.

"Pass a chrono time_point, not an integer millisecond count. For example use `Kernel::Clock::now() + 5s` rather than `Kernel::get_ms_count() + 5000`." [since "mbed-os-6.0.0" ]

Global Mail< T, queue_sz >::calloc (MBED_UNUSED uint32_t millisec=0)

Replaced with try_calloc. In future calloc() will be an untimed blocking call.

"Replaced with try_calloc. In future calloc() will be an untimed blocking call." [since "mbed-os-6.0.0" ]

Global Mail< T, queue_sz >::calloc_for (uint32_t millisec)

Pass a chrono duration, not an integer millisecond count. For example use 5s rather than 5000.

"Pass a chrono duration, not an integer millisecond count. For example use `5s` rather than `5000`." [since "mbed-os-6.0.0" ]

Global Mail< T, queue_sz >::calloc_until (uint64_t millisec)

Pass a chrono time_point, not an integer millisecond count. For example use Kernel::Clock::now() + 5s rather than Kernel::get_ms_count() + 5000.

"Pass a chrono time_point, not an integer millisecond count. For example use `Kernel::Clock::now() + 5s` rather than `Kernel::get_ms_count() + 5000`." [since "mbed-os-6.0.0" ]

Global Mail< T, queue_sz >::get (uint32_t millisec=osWaitForever)

Replaced with try_get and try_get_for. In future get will be an untimed blocking call.

"Replaced with try_get and try_get_for. In future get will be an untimed blocking call." [since "mbed-os-6.0.0" ]

Global mbed_set_error_hook (mbed_error_hook_t custom_error_hook)
You should use an overridden mbed_error_hook() function if you like to catch errors in your application. With mbed_set_error_hook() it is not possible to catch errors before your application started.
Global MBED_STATIC_ASSERT (expr, msg)
This feature is now no longer necessary with the minimum supported language versions. It will be removed in a forthcoming release. Use static_assert instead. For C this is provided by <assert.h>, and for C++ it is a built-in keyword.
Global MBED_STRUCT_STATIC_ASSERT (expr, message)
This feature is now no longer necessary with the minimum supported language versions. It will be removed in a forthcoming release. Use static_assert instead. For C this is provided by <assert.h>, and for C++ it is a built-in keyword.
Global MemoryPool< T, pool_sz >::alloc ()

"Replaced with try_alloc. In future alloc() will be an untimed blocking call." [since "mbed-os-6.0.0" ]

Replaced with try_alloc. In future alloc() will be an untimed blocking call.

Global MemoryPool< T, pool_sz >::alloc_for (uint32_t millisec)

Replaced with try_alloc_for. For example use try_alloc_for(5s) rather than alloc_for(5000).

"Replaced with `try_alloc_for`. For example use `try_alloc_for(5s)` rather than `alloc_for(5000)`." [since "mbed-os-6.0.0" ]

Global MemoryPool< T, pool_sz >::alloc_until (uint64_t millisec)

"Replaced with `try_alloc_until`. For example use `try_alloc_until(Kernel::Clock::now() + 5s)` rather than `alloc_until(Kernel::get_ms_count() + 5000)`." [since "mbed-os-6.0.0" ]

Replaced with try_alloc_until. For example use try_alloc_until(Kernel::Clock::now() + 5s) rather than alloc_until(Kernel::get_ms_count() + 5000).

Global MemoryPool< T, pool_sz >::calloc ()

"Replaced with try_calloc. In future calloc() will be an untimed blocking call." [since "mbed-os-6.0.0" ]

Replaced with try_calloc. In future calloc() will be an untimed blocking call.

Global MemoryPool< T, pool_sz >::calloc_for (uint32_t millisec)

"Replaced with `try_calloc_for`. For example use `try_calloc_for(5s)` rather than `calloc_for(5000)`." [since "mbed-os-6.0.0" ]

Replaced with try_calloc_for. For example use try_calloc_for(5s) rather than calloc_for(5000).

Global MemoryPool< T, pool_sz >::calloc_until (uint64_t millisec)

Replaced with try_calloc_until. For example use try_calloc_until(Kernel::Clock::now() + 5s) rather than calloc_until(Kernel::get_ms_count() + 5000).

"Replaced with `try_calloc_until`. For example use `try_calloc_until(Kernel::Clock::now() + 5s)` rather than `calloc_until(Kernel::get_ms_count() + 5000)`." [since "mbed-os-6.0.0" ]

Global Mutex::trylock_for (uint32_t millisec)

Pass a chrono duration, not an integer millisecond count. For example use 5s rather than 5000.

"Pass a chrono duration, not an integer millisecond count. For example use `5s` rather than `5000`." [since "mbed-os-6.0.0" ]

Global Mutex::trylock_until (uint64_t millisec)

Pass a chrono time_point, not an integer millisecond count. For example use Kernel::Clock::now() + 5s rather than Kernel::get_ms_count() + 5000.

"Pass a chrono time_point, not an integer millisecond count. For example use `Kernel::Clock::now() + 5s` rather than `Kernel::get_ms_count() + 5000`." [since "mbed-os-6.0.0" ]

Global NetworkInterface::add_event_listener (mbed::Callback< void(nsapi_event_t, intptr_t)> status_cb)
"This function return value will change to nsapi_error_t in the next major release. See documentation for details." [since "mbed-os-6.12" ]
Global PSA_ERROR_EMPTY_SLOT
Replaced by PSA_ERROR_DOES_NOT_EXIST
Global PSA_ERROR_INSUFFICIENT_CAPACITY
Replaced by PSA_ERROR_INSUFFICIENT_DATA
Global PSA_ERROR_OCCUPIED_SLOT
Replaced by PSA_ERROR_ALREADY_EXISTS
Global PSA_ERROR_TAMPERING_DETECTED
Replaced by PSA_ERROR_CORRUPTION_DETECTED
Global PSA_ERROR_UNKNOWN_ERROR
Replaced by PSA_ERROR_GENERIC_ERROR
Global psa_its_create_flags_t
"ITS specific types should not be used"
Global psa_its_info_t
"ITS specific types should not be used"
Global psa_its_status_t
"ITS specific types should not be used"
Global psa_its_uid_t
"ITS specific types should not be used"
Global psa_ps_create_flags_t
"PS specific types should not be used"
Global psa_ps_info_t
"PS specific types should not be used"
Global psa_ps_status_t
"PS specific types should not be used"
Global psa_ps_uid_t
"PS specific types should not be used"
Global PwmOut::read_pulsewitdth_us ()
"use read_pulsewidth_us() instead"
Global Queue< T, queue_sz >::get (uint32_t millisec=osWaitForever)

"Replaced with try_get and try_get_for. In future get will be an untimed blocking call." [since "mbed-os-6.0.0" ]

Replaced with try_get and try_get_for. In future get will be an untimed blocking call.

Global Queue< T, queue_sz >::put (T *data, uint32_t millisec=0, uint8_t prio=0)

"Replaced with try_put and try_put_for. In future put will be an untimed blocking call." [since "mbed-os-6.0.0" ]

Replaced with try_put and try_put_for. In future put will be an untimed blocking call.

Global radio_fsk_settings::iq_inverted
Does not apply to FSK. Will be removed.
Global rtos::Kernel::get_ms_count ()

Use Kernel::Clock::now() to get a chrono time_point instead of an integer millisecond count.

"Use `Kernel::Clock::now()` to get a chrono time_point instead of an integer millisecond count." [since "mbed-os-6.0.0" ]

Global rtos::ThisThread::flags_wait_all_for (uint32_t flags, uint32_t millisec, bool clear=true)

"Pass a chrono duration, not an integer millisecond count. For example use `5s` rather than `5000`." [since "mbed-os-6.0.0" ]

Pass a chrono duration, not an integer millisecond count. For example use 5s rather than 5000.

Global rtos::ThisThread::flags_wait_all_until (uint32_t flags, uint64_t millisec, bool clear=true)

"Pass a chrono time_point, not an integer millisecond count. For example use `Kernel::Clock::now() + 5s` rather than `Kernel::get_ms_count() + 5000`." [since "mbed-os-6.0.0" ]

Pass a chrono time_point, not an integer millisecond count. For example use Kernel::Clock::now() + 5s rather than Kernel::get_ms_count() + 5000.

Global rtos::ThisThread::flags_wait_any_for (uint32_t flags, uint32_t millisec, bool clear=true)

"Pass a chrono duration, not an integer millisecond count. For example use `5s` rather than `5000`." [since "mbed-os-6.0.0" ]

Pass a chrono duration, not an integer millisecond count. For example use 5s rather than 5000.

Global rtos::ThisThread::flags_wait_any_until (uint32_t flags, uint64_t millisec, bool clear=true)

"Pass a chrono time_point, not an integer millisecond count. For example use `Kernel::Clock::now() + 5s` rather than `Kernel::get_ms_count() + 5000`." [since "mbed-os-6.0.0" ]

Pass a chrono time_point, not an integer millisecond count. For example use Kernel::Clock::now() + 5s rather than Kernel::get_ms_count() + 5000.

Global rtos::ThisThread::sleep_for (uint32_t millisec)

"Pass a chrono duration, not an integer millisecond count. For example use `5s` rather than `5000`." [since "mbed-os-6.0.0" ]

Pass a chrono duration, not an integer millisecond count. For example use 5s rather than 5000.

Global rtos::ThisThread::sleep_until (uint64_t millisec)

"Pass a chrono time_point, not an integer millisecond count. For example use `Kernel::Clock::now() + 5s` rather than `Kernel::get_ms_count() + 5000`." [since "mbed-os-6.0.0" ]

Pass a chrono time_point, not an integer millisecond count. For example use Kernel::Clock::now() + 5s rather than Kernel::get_ms_count() + 5000.

Global Semaphore::try_acquire_for (uint32_t millisec)

Pass a chrono duration, not an integer millisecond count. For example use 5s rather than 5000.

"Pass a chrono duration, not an integer millisecond count. For example use `5s` rather than `5000`." [since "mbed-os-6.0.0" ]

Global Semaphore::try_acquire_until (uint64_t millisec)

Pass a chrono time_point, not an integer millisecond count. For example use Kernel::Clock::now() + 5s rather than Kernel::get_ms_count() + 5000.

"Pass a chrono time_point, not an integer millisecond count. For example use `Kernel::Clock::now() + 5s` rather than `Kernel::get_ms_count() + 5000`." [since "mbed-os-6.0.0" ]

Global TickerBase::attach (F &&func, float t)

Pass a chrono duration, not a float second count. For example use 10ms rather than 0.01f.

"Pass a chrono duration, not a float second count. For example use `10ms` rather than `0.01f`." [since "mbed-os-6.0.0" ]

Global TickerBase::attach_us (Callback< void()> func, us_timestamp_t t)

"Pass a chrono duration, not an integer microsecond count. For example use `10ms` rather than `10000`." [since "mbed-os-6.0.0" ]

Pass a chrono duration, not an integer microsecond count. For example use 10ms rather than 10000.

Global TimerBase::operator float () const
"Floating point operators should normally be avoided for code size. If really needed, you can use `duration<float>{elapsed_time()}.count()`" [since "mbed-os-6.0.0" ]
Global TimerBase::read () const
"Floating point operators should normally be avoided for code size. If really needed, you can use `duration<float>{elapsed_time()}.count()`" [since "mbed-os-6.0.0" ]
Global TimerBase::read_high_resolution_us () const
"Use the Chrono-based elapsed_time method. If integer microseconds are needed, you can use `elapsed_time().count()`" [since "mbed-os-6.0.0" ]
Global TimerBase::read_ms () const
"Use the Chrono-based elapsed_time method. If integer milliseconds are needed, you can use `duration_cast<milliseconds>(elapsed_time()).count()`" [since "mbed-os-6.0.0" ]
Global TimerBase::read_us () const
"Use the Chrono-based elapsed_time method. If integer microseconds are needed, you can use `elapsed_time().count()`" [since "mbed-os-6.0.0" ]
Global WisunBorderRouter::start (NetworkInterface *mesh_if, NetworkInterface *backbone_if)
"Using NetworkInterface type for mesh_if is deprecated, use WisunInterface instead" [since "mbed-os-6.10.0" ]
Global WisunBorderRouter::start (NetworkInterface *mesh_if, OnboardNetworkStack::Interface *backbone_if)
"Using NetworkInterface type for mesh_if is deprecated, use WisunInterface instead" [since "mbed-os-6.10.0" ]