ot::DataPollSender::SetAttachMode() method
Sets/clears the attach mode on data poll sender. When attach mode is enabled, the data poll sender will send data polls at a faster rate determined by poll period configuration option `OPENTHREAD_CONFIG_MAC_ATTACH_DATA_POLL_PERIOD`.
Syntax
void SetAttachMode(bool aMode);