邊界代理程式
這個模組包含 Thread Border 代理程式角色的功能。
摘要
列舉 |
|
---|---|
otBorderAgentState{
|
列舉 這個列舉會定義邊界代理程式狀態。 |
Typedefs |
|
---|---|
otBorderAgentState
|
typedefenum otBorderAgentState
這個列舉會定義邊界代理程式狀態。 |
函式 |
|
---|---|
otBorderAgentGetState(otInstance *aInstance)
|
取得 Thread Border 代理程式角色的 otBorderAgentState。
|
otBorderAgentGetUdpPort(otInstance *aInstance)
|
uint16_t
取得 Thread 邊界代理程式服務的 UDP 通訊埠。
|
列舉
otBorderAgentState
otBorderAgentState
這個列舉會定義邊界代理程式狀態。
屬性 | |
---|---|
OT_BORDER_AGENT_STATE_ACTIVE
|
邊界代理程式與外部委員會聯繫。 |
OT_BORDER_AGENT_STATE_STARTED
|
邊界代理程式已啟動。 |
OT_BORDER_AGENT_STATE_STOPPED
|
邊界代理程式角色已停用。 |
Typedefs
函式
otBorderAgentGetState
otBorderAgentState otBorderAgentGetState( otInstance *aInstance )
取得 Thread Border 代理程式角色的 otBorderAgentState。
詳情 | |||
---|---|---|---|
參數 |
|
||
傳回 |
邊界代理程式目前的 otBorderAgentState。
|
otBorderAgentGetUdpPort
uint16_t otBorderAgentGetUdpPort( otInstance *aInstance )
取得 Thread 邊界代理程式服務的 UDP 通訊埠。
詳情 | |||
---|---|---|---|
參數 |
|
||
傳回 |
邊界代理程式的 UDP 通訊埠。
|