RpcId

Enum RpcId 

Source
#[repr(u16)]
pub enum RpcId {
Show 183 variants MsgIdInvalid = 0, ReqBase = 256, ReqGetMacAddress = 257, ReqSetMacAddress = 258, ReqGetWifiMode = 259, ReqSetWifiMode = 260, ReqWifiSetPs = 270, ReqWifiGetPs = 271, ReqOtaBegin = 272, ReqOtaWrite = 273, ReqOtaEnd = 274, ReqWifiSetMaxTxPower = 275, ReqWifiGetMaxTxPower = 276, ReqConfigHeartbeat = 277, ReqWifiInit = 278, ReqWifiDeinit = 279, ReqWifiStart = 280, ReqWifiStop = 281, ReqWifiConnect = 282, ReqWifiDisconnect = 283, ReqWifiSetConfig = 284, ReqWifiGetConfig = 285, ReqWifiScanStart = 286, ReqWifiScanStop = 287, ReqWifiScanGetApNum = 288, ReqWifiScanGetApRecords = 289, ReqWifiClearApList = 290, ReqWifiRestore = 291, ReqWifiClearFastConnect = 292, ReqWifiDeauthSta = 293, ReqWifiStaGetApInfo = 294, ReqWifiSetProtocol = 297, ReqWifiGetProtocol = 298, ReqWifiSetBandwidth = 299, ReqWifiGetBandwidth = 300, ReqWifiSetChannel = 301, ReqWifiGetChannel = 302, ReqWifiSetCountry = 303, ReqWifiGetCountry = 304, ReqWifiSetPromiscuous = 305, ReqWifiGetPromiscuous = 306, ReqWifiSetPromiscuousFilter = 307, ReqWifiGetPromiscuousFilter = 308, ReqWifiSetPromiscuousCtrlFilter = 309, ReqWifiGetPromiscuousCtrlFilter = 310, ReqWifiApGetStaList = 311, ReqWifiApGetStaAid = 312, ReqWifiSetStorage = 313, ReqWifiSetVendorIe = 314, ReqWifiSetEventMask = 315, ReqWifiGetEventMask = 316, ReqWifi80211Tx = 317, ReqWifiSetCsiConfig = 318, ReqWifiSetCsi = 319, ReqWifiSetAntGpio = 320, ReqWifiGetAntGpio = 321, ReqWifiSetAnt = 322, ReqWifiGetAnt = 323, ReqWifiGetTsfTime = 324, ReqWifiSetInactiveTime = 325, ReqWifiGetInactiveTime = 326, ReqWifiStatisDump = 327, ReqWifiSetRssiThreshold = 328, ReqWifiFtmInitiateSession = 329, ReqWifiFtmEndSession = 330, ReqWifiFtmRespSetOffset = 331, ReqWifiConfig11bRate = 332, ReqWifiConnectionlessModuleSetWakeInterval = 333, ReqWifiSetCountryCode = 334, ReqWifiGetCountryCode = 335, ReqWifiConfig80211TxRate = 336, ReqWifiDisablePmfConfig = 337, ReqWifiStaGetAid = 338, ReqWifiStaGetNegotiatedPhymode = 339, ReqWifiSetDynamicCs = 340, ReqWifiStaGetRssi = 341, ReqWifiSetProtocols = 342, ReqWifiGetProtocols = 343, ReqWifiSetBandwidths = 344, ReqWifiGetBandwidths = 345, ReqWifiSetBand = 346, ReqWifiGetBand = 347, ReqWifiSetBandMode = 348, ReqWifiGetBandMode = 349, ReqGetCoprocessorFwVersion = 350, ReqWifiScanGetApRecord = 351, ReqMax = 352, RespBase = 512, RespGetMacAddress = 513, RespSetMacAddress = 514, RespGetWifiMode = 515, RespSetWifiMode = 516, RespWifiSetPs = 526, RespWifiGetPs = 527, RespOtaBegin = 528, RespOtaWrite = 529, RespOtaEnd = 530, RespWifiSetMaxTxPower = 531, RespWifiGetMaxTxPower = 532, RespConfigHeartbeat = 533, RespWifiInit = 534, RespWifiDeinit = 535, RespWifiStart = 536, RespWifiStop = 537, RespWifiConnect = 538, RespWifiDisconnect = 539, RespWifiSetConfig = 540, RespWifiGetConfig = 541, RespWifiScanStart = 542, RespWifiScanStop = 543, RespWifiScanGetApNum = 544, RespWifiScanGetApRecords = 545, RespWifiClearApList = 546, RespWifiRestore = 547, RespWifiClearFastConnect = 548, RespWifiDeauthSta = 549, RespWifiStaGetApInfo = 550, RespWifiSetProtocol = 553, RespWifiGetProtocol = 554, RespWifiSetBandwidth = 555, RespWifiGetBandwidth = 556, RespWifiSetChannel = 557, RespWifiGetChannel = 558, RespWifiSetCountry = 559, RespWifiGetCountry = 560, RespWifiSetPromiscuous = 561, RespWifiGetPromiscuous = 562, RespWifiSetPromiscuousFilter = 563, RespWifiGetPromiscuousFilter = 564, RespWifiSetPromiscuousCtrlFilter = 565, RespWifiGetPromiscuousCtrlFilter = 566, RespWifiApGetStaList = 567, RespWifiApGetStaAid = 568, RespWifiSetStorage = 569, RespWifiSetVendorIe = 570, RespWifiSetEventMask = 571, RespWifiGetEventMask = 572, RespWifi80211Tx = 573, RespWifiSetCsiConfig = 574, RespWifiSetCsi = 575, RespWifiSetAntGpio = 576, RespWifiGetAntGpio = 577, RespWifiSetAnt = 578, RespWifiGetAnt = 579, RespWifiGetTsfTime = 580, RespWifiSetInactiveTime = 581, RespWifiGetInactiveTime = 582, RespWifiStatisDump = 583, RespWifiSetRssiThreshold = 584, RespWifiFtmInitiateSession = 585, RespWifiFtmEndSession = 586, RespWifiFtmRespSetOffset = 587, RespWifiConfig11bRate = 588, RespWifiConnectionlessModuleSetWakeInterval = 589, RespWifiSetCountryCode = 590, RespWifiGetCountryCode = 591, RespWifiConfig80211TxRate = 592, RespWifiDisablePmfConfig = 593, RespWifiStaGetAid = 594, RespWifiStaGetNegotiatedPhymode = 595, RespWifiSetDynamicCs = 596, RespWifiStaGetRssi = 597, RespWifiSetProtocols = 598, RespWifiGetProtocols = 599, RespWifiSetBandwidths = 600, RespWifiGetBandwidths = 601, RespWifiSetBand = 602, RespWifiGetBand = 603, RespWifiSetBandMode = 604, RespWifiGetBandMode = 605, RespGetCoprocessorFwVersion = 606, RespWifiScanGetApRecord = 607, RespMax = 608, EventBase = 768, EventEspInit = 769, EventHeartbeat = 770, EventApStaConnected = 771, EventApStaDisconnected = 772, EventWifiEventNoArgs = 773, EventStaScanDone = 774, EventStaConnected = 775, EventStaDisconnected = 776, EventMax = 777,
}
Expand description

See esp_hosted_rpc.proto, enum by this name. This is encoded as a varint.

Variants§

§

MsgIdInvalid = 0

§

ReqBase = 256

§

ReqGetMacAddress = 257

§

ReqSetMacAddress = 258

§

ReqGetWifiMode = 259

§

ReqSetWifiMode = 260

§

ReqWifiSetPs = 270

§

ReqWifiGetPs = 271

§

ReqOtaBegin = 272

§

ReqOtaWrite = 273

§

ReqOtaEnd = 274

§

ReqWifiSetMaxTxPower = 275

§

ReqWifiGetMaxTxPower = 276

§

ReqConfigHeartbeat = 277

§

ReqWifiInit = 278

§

ReqWifiDeinit = 279

§

ReqWifiStart = 280

§

ReqWifiStop = 281

§

ReqWifiConnect = 282

§

ReqWifiDisconnect = 283

§

ReqWifiSetConfig = 284

§

ReqWifiGetConfig = 285

§

ReqWifiScanStart = 286

§

ReqWifiScanStop = 287

§

ReqWifiScanGetApNum = 288

§

ReqWifiScanGetApRecords = 289

§

ReqWifiClearApList = 290

§

ReqWifiRestore = 291

§

ReqWifiClearFastConnect = 292

§

ReqWifiDeauthSta = 293

§

ReqWifiStaGetApInfo = 294

§

ReqWifiSetProtocol = 297

§

ReqWifiGetProtocol = 298

§

ReqWifiSetBandwidth = 299

§

ReqWifiGetBandwidth = 300

§

ReqWifiSetChannel = 301

§

ReqWifiGetChannel = 302

§

ReqWifiSetCountry = 303

§

ReqWifiGetCountry = 304

§

ReqWifiSetPromiscuous = 305

§

ReqWifiGetPromiscuous = 306

§

ReqWifiSetPromiscuousFilter = 307

§

ReqWifiGetPromiscuousFilter = 308

§

ReqWifiSetPromiscuousCtrlFilter = 309

§

ReqWifiGetPromiscuousCtrlFilter = 310

§

ReqWifiApGetStaList = 311

§

ReqWifiApGetStaAid = 312

§

ReqWifiSetStorage = 313

§

ReqWifiSetVendorIe = 314

§

ReqWifiSetEventMask = 315

§

ReqWifiGetEventMask = 316

§

ReqWifi80211Tx = 317

§

ReqWifiSetCsiConfig = 318

§

ReqWifiSetCsi = 319

§

ReqWifiSetAntGpio = 320

§

ReqWifiGetAntGpio = 321

§

ReqWifiSetAnt = 322

§

ReqWifiGetAnt = 323

§

ReqWifiGetTsfTime = 324

§

ReqWifiSetInactiveTime = 325

§

ReqWifiGetInactiveTime = 326

§

ReqWifiStatisDump = 327

§

ReqWifiSetRssiThreshold = 328

§

ReqWifiFtmInitiateSession = 329

§

ReqWifiFtmEndSession = 330

§

ReqWifiFtmRespSetOffset = 331

§

ReqWifiConfig11bRate = 332

§

ReqWifiConnectionlessModuleSetWakeInterval = 333

§

ReqWifiSetCountryCode = 334

§

ReqWifiGetCountryCode = 335

§

ReqWifiConfig80211TxRate = 336

§

ReqWifiDisablePmfConfig = 337

§

ReqWifiStaGetAid = 338

§

ReqWifiStaGetNegotiatedPhymode = 339

§

ReqWifiSetDynamicCs = 340

§

ReqWifiStaGetRssi = 341

§

ReqWifiSetProtocols = 342

§

ReqWifiGetProtocols = 343

§

ReqWifiSetBandwidths = 344

§

ReqWifiGetBandwidths = 345

§

ReqWifiSetBand = 346

§

ReqWifiGetBand = 347

§

ReqWifiSetBandMode = 348

§

ReqWifiGetBandMode = 349

§

ReqGetCoprocessorFwVersion = 350

§

ReqWifiScanGetApRecord = 351

§

ReqMax = 352

§

RespBase = 512

§

RespGetMacAddress = 513

§

RespSetMacAddress = 514

§

RespGetWifiMode = 515

§

RespSetWifiMode = 516

§

RespWifiSetPs = 526

§

RespWifiGetPs = 527

§

RespOtaBegin = 528

§

RespOtaWrite = 529

§

RespOtaEnd = 530

§

RespWifiSetMaxTxPower = 531

§

RespWifiGetMaxTxPower = 532

§

RespConfigHeartbeat = 533

§

RespWifiInit = 534

§

RespWifiDeinit = 535

§

RespWifiStart = 536

§

RespWifiStop = 537

§

RespWifiConnect = 538

§

RespWifiDisconnect = 539

§

RespWifiSetConfig = 540

§

RespWifiGetConfig = 541

§

RespWifiScanStart = 542

§

RespWifiScanStop = 543

§

RespWifiScanGetApNum = 544

§

RespWifiScanGetApRecords = 545

§

RespWifiClearApList = 546

§

RespWifiRestore = 547

§

RespWifiClearFastConnect = 548

§

RespWifiDeauthSta = 549

§

RespWifiStaGetApInfo = 550

§

RespWifiSetProtocol = 553

§

RespWifiGetProtocol = 554

§

RespWifiSetBandwidth = 555

§

RespWifiGetBandwidth = 556

§

RespWifiSetChannel = 557

§

RespWifiGetChannel = 558

§

RespWifiSetCountry = 559

§

RespWifiGetCountry = 560

§

RespWifiSetPromiscuous = 561

§

RespWifiGetPromiscuous = 562

§

RespWifiSetPromiscuousFilter = 563

§

RespWifiGetPromiscuousFilter = 564

§

RespWifiSetPromiscuousCtrlFilter = 565

§

RespWifiGetPromiscuousCtrlFilter = 566

§

RespWifiApGetStaList = 567

§

RespWifiApGetStaAid = 568

§

RespWifiSetStorage = 569

§

RespWifiSetVendorIe = 570

§

RespWifiSetEventMask = 571

§

RespWifiGetEventMask = 572

§

RespWifi80211Tx = 573

§

RespWifiSetCsiConfig = 574

§

RespWifiSetCsi = 575

§

RespWifiSetAntGpio = 576

§

RespWifiGetAntGpio = 577

§

RespWifiSetAnt = 578

§

RespWifiGetAnt = 579

§

RespWifiGetTsfTime = 580

§

RespWifiSetInactiveTime = 581

§

RespWifiGetInactiveTime = 582

§

RespWifiStatisDump = 583

§

RespWifiSetRssiThreshold = 584

§

RespWifiFtmInitiateSession = 585

§

RespWifiFtmEndSession = 586

§

RespWifiFtmRespSetOffset = 587

§

RespWifiConfig11bRate = 588

§

RespWifiConnectionlessModuleSetWakeInterval = 589

§

RespWifiSetCountryCode = 590

§

RespWifiGetCountryCode = 591

§

RespWifiConfig80211TxRate = 592

§

RespWifiDisablePmfConfig = 593

§

RespWifiStaGetAid = 594

§

RespWifiStaGetNegotiatedPhymode = 595

§

RespWifiSetDynamicCs = 596

§

RespWifiStaGetRssi = 597

§

RespWifiSetProtocols = 598

§

RespWifiGetProtocols = 599

§

RespWifiSetBandwidths = 600

§

RespWifiGetBandwidths = 601

§

RespWifiSetBand = 602

§

RespWifiGetBand = 603

§

RespWifiSetBandMode = 604

§

RespWifiGetBandMode = 605

§

RespGetCoprocessorFwVersion = 606

§

RespWifiScanGetApRecord = 607

§

RespMax = 608

§

EventBase = 768

§

EventEspInit = 769

§

EventHeartbeat = 770

§

EventApStaConnected = 771

§

EventApStaDisconnected = 772

§

EventWifiEventNoArgs = 773

§

EventStaScanDone = 774

§

EventStaConnected = 775

§

EventStaDisconnected = 776

§

EventMax = 777

Trait Implementations§

Source§

impl Clone for RpcId

Source§

fn clone(&self) -> RpcId

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Format for RpcId

Source§

fn format(&self, f: Formatter<'_>)

Writes the defmt representation of self to fmt.
Source§

impl PartialEq for RpcId

Source§

fn eq(&self, other: &RpcId) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl TryFrom<u16> for RpcId

Source§

type Error = TryFromPrimitiveError<RpcId>

The type returned in the event of a conversion error.
Source§

fn try_from(number: u16) -> Result<Self, TryFromPrimitiveError<Self>>

Performs the conversion.
Source§

impl TryFromPrimitive for RpcId

Source§

impl Copy for RpcId

Source§

impl StructuralPartialEq for RpcId

Auto Trait Implementations§

§

impl Freeze for RpcId

§

impl RefUnwindSafe for RpcId

§

impl Send for RpcId

§

impl Sync for RpcId

§

impl Unpin for RpcId

§

impl UnwindSafe for RpcId

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.