zigbee-herdsman 0.33.2 → 0.33.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +15 -0
- package/dist/adapter/ezsp/adapter/backup.d.ts.map +1 -1
- package/dist/adapter/ezsp/adapter/backup.js +23 -6
- package/dist/adapter/ezsp/adapter/backup.js.map +1 -1
- package/dist/adapter/ezsp/driver/commands.d.ts.map +1 -1
- package/dist/adapter/ezsp/driver/commands.js +9 -1
- package/dist/adapter/ezsp/driver/commands.js.map +1 -1
- package/dist/adapter/ezsp/driver/driver.d.ts +1 -0
- package/dist/adapter/ezsp/driver/driver.d.ts.map +1 -1
- package/dist/adapter/ezsp/driver/driver.js +18 -5
- package/dist/adapter/ezsp/driver/driver.js.map +1 -1
- package/dist/adapter/ezsp/driver/types/index.d.ts +3 -3
- package/dist/adapter/ezsp/driver/types/index.d.ts.map +1 -1
- package/dist/adapter/ezsp/driver/types/index.js +5 -3
- package/dist/adapter/ezsp/driver/types/index.js.map +1 -1
- package/dist/adapter/ezsp/driver/types/named.d.ts +560 -0
- package/dist/adapter/ezsp/driver/types/named.d.ts.map +1 -1
- package/dist/adapter/ezsp/driver/types/named.js +563 -2
- package/dist/adapter/ezsp/driver/types/named.js.map +1 -1
- package/dist/adapter/ezsp/driver/types/struct.d.ts +9 -0
- package/dist/adapter/ezsp/driver/types/struct.d.ts.map +1 -1
- package/dist/adapter/ezsp/driver/types/struct.js +17 -1
- package/dist/adapter/ezsp/driver/types/struct.js.map +1 -1
- package/dist/adapter/ezsp/driver/uart.d.ts.map +1 -1
- package/dist/adapter/ezsp/driver/uart.js +2 -2
- package/dist/adapter/ezsp/driver/uart.js.map +1 -1
- package/dist/zcl/definition/cluster.d.ts.map +1 -1
- package/dist/zcl/definition/cluster.js +0 -3
- package/dist/zcl/definition/cluster.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.EmberSecurityManagerContext = exports.EmberRoutingTableEntry = exports.EmberRoutingTable = exports.EmberNeighbors = exports.EmberMultiAddress = exports.EmberSimpleDescriptor = exports.EmberNodeDescriptor = exports.EmberGpSinkListEntry = exports.EmberGpAddress = exports.EmberRf4cePairingTableEntry = exports.EmberRf4ceApplicationInfo = exports.EmberRf4ceVendorInfo = void 0;
|
|
3
|
+
exports.EmberBindingType = exports.EmberMacPassthroughType = exports.EmberOutgoingMessageType = exports.EmberIncomingMessageType = exports.EmberNetworkStatus = exports.EmberNodeType = exports.EmberEventUnits = exports.EmberStackError = exports.SLStatus = exports.EmberStatus = exports.EzspStatus = exports.EzspMfgTokenId = exports.EzspDecisionId = exports.EzspPolicyId = exports.EmberConfigTxPowerMode = exports.EzspEndpointFlags = exports.EzspExtendedValueId = exports.EzspValueId = exports.EzspConfigId = exports.Bool = exports.SecureEzspSessionId = exports.SecureEzspRandomNumber = exports.EmberGpKeyType = exports.EmberGpSecurityLevel = exports.SecureEzspSecurityLevel = exports.SecureEzspSecurityType = exports.EmberLibraryStatus = exports.EmberEUI64 = exports.EmberMulticastId = exports.EmberPanId = exports.EmberNodeId = exports.EmberRf4ceApplicationCapabilities = exports.EmberRf4ceNodeCapabilities = exports.EmberRf4ceTxOption = exports.NcpResetCode = exports.Bytes = exports.WordList = exports.fixed_list = exports.LVList = exports.list = exports.LVBytes = exports.uint64_t = exports.uint32_t = exports.uint24_t = exports.uint16_t = exports.uint8_t = exports.uint_t = exports.int8s = exports.serialize = exports.deserialize = void 0;
|
|
4
|
+
exports.EmberTokTypeStackZllData = exports.EmberZllAddressAssignment = exports.EmberZllDeviceInfoRecord = exports.EmberZllInitialSecurityState = exports.EmberZllNetwork = exports.EmberZllSecurityAlgorithmData = exports.EmberNetworkInitStruct = exports.EmberKeyStruct = exports.EmberCurrentSecurityState = exports.EmberInitialSecurityState = exports.EmberRouteTableEntry = exports.EmberNeighborTableEntry = exports.EmberAesMmoHashContext = exports.EmberMessageDigest = exports.EmberSignature283k1Data = exports.EmberPrivateKey283k1Data = exports.EmberPublicKey283k1Data = exports.EmberCertificate283k1Data = exports.EmberSignatureData = exports.EmberSmacData = exports.EmberPrivateKeyData = exports.EmberPublicKeyData = exports.EmberCertificateData = exports.EmberKeyData = exports.EmberMulticastTableEntry = exports.EmberBindingTableEntry = exports.EmberApsFrame = exports.EmberZigbeeNetwork = exports.EmberNetworkParameters = exports.EzspStruct = exports.EmberDerivedKeyType = exports.EmberZDOCmd = exports.EmberNetworkInitBitmask = exports.EzspSourceRouteOverheadInformation = exports.EzspZllNetworkOperation = exports.EmberZllKeyIndex = exports.EmberZllState = exports.EmberConcentratorType = exports.EmberZdoConfigurationFlags = exports.EmberJoinMethod = exports.EmberCounterType = exports.EmberKeyStatus = exports.EmberDeviceUpdate = exports.EmberKeyStructBitmask = exports.EmberKeyType = exports.EmberCurrentSecurityBitmask = exports.EmberInitialSecurityBitmask = exports.EmberJoinDecision = exports.EzspNetworkScanType = exports.EmberApsOption = void 0;
|
|
5
|
+
exports.EmberSecurityManagerNetworkKeyInfo = exports.EmberSecurityManagerContext = exports.EmberRoutingTableEntry = exports.EmberRoutingTable = exports.EmberNeighbors = exports.EmberMultiAddress = exports.EmberSimpleDescriptor = exports.EmberNodeDescriptor = exports.EmberGpSinkListEntry = exports.EmberGpAddress = exports.EmberRf4cePairingTableEntry = exports.EmberRf4ceApplicationInfo = exports.EmberRf4ceVendorInfo = exports.EmberTokTypeStackZllSecurity = void 0;
|
|
6
6
|
/* istanbul ignore file */
|
|
7
7
|
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */
|
|
8
8
|
const basic_1 = require("./basic");
|
|
@@ -46,6 +46,7 @@ Object.defineProperty(exports, "EzspDecisionId", { enumerable: true, get: functi
|
|
|
46
46
|
Object.defineProperty(exports, "EzspMfgTokenId", { enumerable: true, get: function () { return named_1.EzspMfgTokenId; } });
|
|
47
47
|
Object.defineProperty(exports, "EzspStatus", { enumerable: true, get: function () { return named_1.EzspStatus; } });
|
|
48
48
|
Object.defineProperty(exports, "EmberStatus", { enumerable: true, get: function () { return named_1.EmberStatus; } });
|
|
49
|
+
Object.defineProperty(exports, "SLStatus", { enumerable: true, get: function () { return named_1.SLStatus; } });
|
|
49
50
|
Object.defineProperty(exports, "EmberStackError", { enumerable: true, get: function () { return named_1.EmberStackError; } });
|
|
50
51
|
Object.defineProperty(exports, "EmberEventUnits", { enumerable: true, get: function () { return named_1.EmberEventUnits; } });
|
|
51
52
|
Object.defineProperty(exports, "EmberNodeType", { enumerable: true, get: function () { return named_1.EmberNodeType; } });
|
|
@@ -118,6 +119,7 @@ Object.defineProperty(exports, "EmberNeighbors", { enumerable: true, get: functi
|
|
|
118
119
|
Object.defineProperty(exports, "EmberRoutingTable", { enumerable: true, get: function () { return struct_1.EmberRoutingTable; } });
|
|
119
120
|
Object.defineProperty(exports, "EmberRoutingTableEntry", { enumerable: true, get: function () { return struct_1.EmberRoutingTableEntry; } });
|
|
120
121
|
Object.defineProperty(exports, "EmberSecurityManagerContext", { enumerable: true, get: function () { return struct_1.EmberSecurityManagerContext; } });
|
|
122
|
+
Object.defineProperty(exports, "EmberSecurityManagerNetworkKeyInfo", { enumerable: true, get: function () { return struct_1.EmberSecurityManagerNetworkKeyInfo; } });
|
|
121
123
|
/* eslint-disable-next-line @typescript-eslint/no-explicit-any*/
|
|
122
124
|
function deserialize(payload, schema) {
|
|
123
125
|
const result = [];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/adapter/ezsp/driver/types/index.ts"],"names":[],"mappings":";;;;;AAAA,0BAA0B;AAC1B,sEAAsE;AACtE,mCAciB;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/adapter/ezsp/driver/types/index.ts"],"names":[],"mappings":";;;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C,CAAC;IACvB,CAAC;IACD,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;AAC1B,CAAC;AARD,kCAQC;AAED,8FAA8F;AAC9F,SAAgB,SAAS,CAAC,IAAW,EAAE,MAAiC;IACpE,OAAO,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;AAC5E,CAAC;AAFD,8BAEC"}
|
|
@@ -400,6 +400,566 @@ export declare class EmberStatus extends basic.uint8_t {
|
|
|
400
400
|
static APPLICATION_ERROR_14: number;
|
|
401
401
|
static APPLICATION_ERROR_15: number;
|
|
402
402
|
}
|
|
403
|
+
/** define global status variable. */
|
|
404
|
+
export declare class SLStatus extends basic.uint32_t {
|
|
405
|
+
/** No error. */
|
|
406
|
+
static SL_STATUS_OK: number;
|
|
407
|
+
/** Generic error. */
|
|
408
|
+
static SL_STATUS_FAIL: number;
|
|
409
|
+
/**State Errors */
|
|
410
|
+
/** Generic invalid state error. */
|
|
411
|
+
static SL_STATUS_INVALID_STATE: number;
|
|
412
|
+
/** Module is not ready for requested operation. */
|
|
413
|
+
static SL_STATUS_NOT_READY: number;
|
|
414
|
+
/** Module is busy and cannot carry out requested operation. */
|
|
415
|
+
static SL_STATUS_BUSY: number;
|
|
416
|
+
/** Operation is in progress and not yet complete (pass or fail). */
|
|
417
|
+
static SL_STATUS_IN_PROGRESS: number;
|
|
418
|
+
/** Operation aborted. */
|
|
419
|
+
static SL_STATUS_ABORT: number;
|
|
420
|
+
/** Operation timed out. */
|
|
421
|
+
static SL_STATUS_TIMEOUT: number;
|
|
422
|
+
/** Operation not allowed per permissions. */
|
|
423
|
+
static SL_STATUS_PERMISSION: number;
|
|
424
|
+
/** Non-blocking operation would block. */
|
|
425
|
+
static SL_STATUS_WOULD_BLOCK: number;
|
|
426
|
+
/** Operation/module is Idle, cannot carry requested operation. */
|
|
427
|
+
static SL_STATUS_IDLE: number;
|
|
428
|
+
/** Operation cannot be done while construct is waiting. */
|
|
429
|
+
static SL_STATUS_IS_WAITING: number;
|
|
430
|
+
/** No task/construct waiting/pending for that action/event. */
|
|
431
|
+
static SL_STATUS_NONE_WAITING: number;
|
|
432
|
+
/** Operation cannot be done while construct is suspended. */
|
|
433
|
+
static SL_STATUS_SUSPENDED: number;
|
|
434
|
+
/** Feature not available due to software configuration. */
|
|
435
|
+
static SL_STATUS_NOT_AVAILABLE: number;
|
|
436
|
+
/** Feature not supported. */
|
|
437
|
+
static SL_STATUS_NOT_SUPPORTED: number;
|
|
438
|
+
/** Initialization failed. */
|
|
439
|
+
static SL_STATUS_INITIALIZATION: number;
|
|
440
|
+
/** Module has not been initialized. */
|
|
441
|
+
static SL_STATUS_NOT_INITIALIZED: number;
|
|
442
|
+
/** Module has already been initialized. */
|
|
443
|
+
static SL_STATUS_ALREADY_INITIALIZED: number;
|
|
444
|
+
/** Object/construct has been deleted. */
|
|
445
|
+
static SL_STATUS_DELETED: number;
|
|
446
|
+
/** Illegal call from ISR. */
|
|
447
|
+
static SL_STATUS_ISR: number;
|
|
448
|
+
/** Illegal call because network is up. */
|
|
449
|
+
static SL_STATUS_NETWORK_UP: number;
|
|
450
|
+
/** Illegal call because network is down. */
|
|
451
|
+
static SL_STATUS_NETWORK_DOWN: number;
|
|
452
|
+
/** Failure due to not being joined in a network. */
|
|
453
|
+
static SL_STATUS_NOT_JOINED: number;
|
|
454
|
+
/** Invalid operation as there are no beacons. */
|
|
455
|
+
static SL_STATUS_NO_BEACONS: number;
|
|
456
|
+
/**Allocation/ownership Errors */
|
|
457
|
+
/** Generic allocation error. */
|
|
458
|
+
static SL_STATUS_ALLOCATION_FAILED: number;
|
|
459
|
+
/** No more resource available to perform the operation. */
|
|
460
|
+
static SL_STATUS_NO_MORE_RESOURCE: number;
|
|
461
|
+
/** Item/list/queue is empty. */
|
|
462
|
+
static SL_STATUS_EMPTY: number;
|
|
463
|
+
/** Item/list/queue is full. */
|
|
464
|
+
static SL_STATUS_FULL: number;
|
|
465
|
+
/** Item would overflow. */
|
|
466
|
+
static SL_STATUS_WOULD_OVERFLOW: number;
|
|
467
|
+
/** Item/list/queue has been overflowed. */
|
|
468
|
+
static SL_STATUS_HAS_OVERFLOWED: number;
|
|
469
|
+
/** Generic ownership error. */
|
|
470
|
+
static SL_STATUS_OWNERSHIP: number;
|
|
471
|
+
/** Already/still owning resource. */
|
|
472
|
+
static SL_STATUS_IS_OWNER: number;
|
|
473
|
+
/**Invalid Parameters Errors */
|
|
474
|
+
/** Generic invalid argument or consequence of invalid argument. */
|
|
475
|
+
static SL_STATUS_INVALID_PARAMETER: number;
|
|
476
|
+
/** Invalid null pointer received as argument. */
|
|
477
|
+
static SL_STATUS_NULL_POINTER: number;
|
|
478
|
+
/** Invalid configuration provided. */
|
|
479
|
+
static SL_STATUS_INVALID_CONFIGURATION: number;
|
|
480
|
+
/** Invalid mode. */
|
|
481
|
+
static SL_STATUS_INVALID_MODE: number;
|
|
482
|
+
/** Invalid handle. */
|
|
483
|
+
static SL_STATUS_INVALID_HANDLE: number;
|
|
484
|
+
/** Invalid type for operation. */
|
|
485
|
+
static SL_STATUS_INVALID_TYPE: number;
|
|
486
|
+
/** Invalid index. */
|
|
487
|
+
static SL_STATUS_INVALID_INDEX: number;
|
|
488
|
+
/** Invalid range. */
|
|
489
|
+
static SL_STATUS_INVALID_RANGE: number;
|
|
490
|
+
/** Invalid key. */
|
|
491
|
+
static SL_STATUS_INVALID_KEY: number;
|
|
492
|
+
/** Invalid credentials. */
|
|
493
|
+
static SL_STATUS_INVALID_CREDENTIALS: number;
|
|
494
|
+
/** Invalid count. */
|
|
495
|
+
static SL_STATUS_INVALID_COUNT: number;
|
|
496
|
+
/** Invalid signature / verification failed. */
|
|
497
|
+
static SL_STATUS_INVALID_SIGNATURE: number;
|
|
498
|
+
/** Item could not be found. */
|
|
499
|
+
static SL_STATUS_NOT_FOUND: number;
|
|
500
|
+
/** Item already exists. */
|
|
501
|
+
static SL_STATUS_ALREADY_EXISTS: number;
|
|
502
|
+
/**IO/Communication Errors */
|
|
503
|
+
/** Generic I/O failure. */
|
|
504
|
+
static SL_STATUS_IO: number;
|
|
505
|
+
/** I/O failure due to timeout. */
|
|
506
|
+
static SL_STATUS_IO_TIMEOUT: number;
|
|
507
|
+
/** Generic transmission error. */
|
|
508
|
+
static SL_STATUS_TRANSMIT: number;
|
|
509
|
+
/** Transmit underflowed. */
|
|
510
|
+
static SL_STATUS_TRANSMIT_UNDERFLOW: number;
|
|
511
|
+
/** Transmit is incomplete. */
|
|
512
|
+
static SL_STATUS_TRANSMIT_INCOMPLETE: number;
|
|
513
|
+
/** Transmit is busy. */
|
|
514
|
+
static SL_STATUS_TRANSMIT_BUSY: number;
|
|
515
|
+
/** Generic reception error. */
|
|
516
|
+
static SL_STATUS_RECEIVE: number;
|
|
517
|
+
/** Failed to read on/via given object. */
|
|
518
|
+
static SL_STATUS_OBJECT_READ: number;
|
|
519
|
+
/** Failed to write on/via given object. */
|
|
520
|
+
static SL_STATUS_OBJECT_WRITE: number;
|
|
521
|
+
/** Message is too long. */
|
|
522
|
+
static SL_STATUS_MESSAGE_TOO_LONG: number;
|
|
523
|
+
/**EEPROM/Flash Errors */
|
|
524
|
+
static SL_STATUS_EEPROM_MFG_VERSION_MISMATCH: number;
|
|
525
|
+
static SL_STATUS_EEPROM_STACK_VERSION_MISMATCH: number;
|
|
526
|
+
/** Flash write is inhibited. */
|
|
527
|
+
static SL_STATUS_FLASH_WRITE_INHIBITED: number;
|
|
528
|
+
/** Flash verification failed. */
|
|
529
|
+
static SL_STATUS_FLASH_VERIFY_FAILED: number;
|
|
530
|
+
/** Flash programming failed. */
|
|
531
|
+
static SL_STATUS_FLASH_PROGRAM_FAILED: number;
|
|
532
|
+
/** Flash erase failed. */
|
|
533
|
+
static SL_STATUS_FLASH_ERASE_FAILED: number;
|
|
534
|
+
/**MAC Errors */
|
|
535
|
+
static SL_STATUS_MAC_NO_DATA: number;
|
|
536
|
+
static SL_STATUS_MAC_NO_ACK_RECEIVED: number;
|
|
537
|
+
static SL_STATUS_MAC_INDIRECT_TIMEOUT: number;
|
|
538
|
+
static SL_STATUS_MAC_UNKNOWN_HEADER_TYPE: number;
|
|
539
|
+
static SL_STATUS_MAC_ACK_HEADER_TYPE: number;
|
|
540
|
+
static SL_STATUS_MAC_COMMAND_TRANSMIT_FAILURE: number;
|
|
541
|
+
/**CLI_STORAGE Errors */
|
|
542
|
+
/** Error in open NVM */
|
|
543
|
+
static SL_STATUS_CLI_STORAGE_NVM_OPEN_ERROR: number;
|
|
544
|
+
/**Security status codes */
|
|
545
|
+
/** Image checksum is not valid. */
|
|
546
|
+
static SL_STATUS_SECURITY_IMAGE_CHECKSUM_ERROR: number;
|
|
547
|
+
/** Decryption failed */
|
|
548
|
+
static SL_STATUS_SECURITY_DECRYPT_ERROR: number;
|
|
549
|
+
/**Command status codes */
|
|
550
|
+
/** Command was not recognized */
|
|
551
|
+
static SL_STATUS_COMMAND_IS_INVALID: number;
|
|
552
|
+
/** Command or parameter maximum length exceeded */
|
|
553
|
+
static SL_STATUS_COMMAND_TOO_LONG: number;
|
|
554
|
+
/** Data received does not form a complete command */
|
|
555
|
+
static SL_STATUS_COMMAND_INCOMPLETE: number;
|
|
556
|
+
/**Misc Errors */
|
|
557
|
+
/** Bus error, e.g. invalid DMA address */
|
|
558
|
+
static SL_STATUS_BUS_ERROR: number;
|
|
559
|
+
/**Unified MAC Errors */
|
|
560
|
+
static SL_STATUS_CCA_FAILURE: number;
|
|
561
|
+
/**Scan errors */
|
|
562
|
+
static SL_STATUS_MAC_SCANNING: number;
|
|
563
|
+
static SL_STATUS_MAC_INCORRECT_SCAN_TYPE: number;
|
|
564
|
+
static SL_STATUS_INVALID_CHANNEL_MASK: number;
|
|
565
|
+
static SL_STATUS_BAD_SCAN_DURATION: number;
|
|
566
|
+
/**Bluetooth status codes */
|
|
567
|
+
/** Bonding procedure can't be started because device has no space */
|
|
568
|
+
/** left for bond. */
|
|
569
|
+
static SL_STATUS_BT_OUT_OF_BONDS: number;
|
|
570
|
+
/** Unspecified error */
|
|
571
|
+
static SL_STATUS_BT_UNSPECIFIED: number;
|
|
572
|
+
/** Hardware failure */
|
|
573
|
+
static SL_STATUS_BT_HARDWARE: number;
|
|
574
|
+
/** The bonding does not exist. */
|
|
575
|
+
static SL_STATUS_BT_NO_BONDING: number;
|
|
576
|
+
/** Error using crypto functions */
|
|
577
|
+
static SL_STATUS_BT_CRYPTO: number;
|
|
578
|
+
/** Data was corrupted. */
|
|
579
|
+
static SL_STATUS_BT_DATA_CORRUPTED: number;
|
|
580
|
+
/** Invalid periodic advertising sync handle */
|
|
581
|
+
static SL_STATUS_BT_INVALID_SYNC_HANDLE: number;
|
|
582
|
+
/** Bluetooth cannot be used on this hardware */
|
|
583
|
+
static SL_STATUS_BT_INVALID_MODULE_ACTION: number;
|
|
584
|
+
/** Error received from radio */
|
|
585
|
+
static SL_STATUS_BT_RADIO: number;
|
|
586
|
+
/** Returned when remote disconnects the connection-oriented channel by sending */
|
|
587
|
+
/** disconnection request. */
|
|
588
|
+
static SL_STATUS_BT_L2CAP_REMOTE_DISCONNECTED: number;
|
|
589
|
+
/** Returned when local host disconnect the connection-oriented channel by sending */
|
|
590
|
+
/** disconnection request. */
|
|
591
|
+
static SL_STATUS_BT_L2CAP_LOCAL_DISCONNECTED: number;
|
|
592
|
+
/** Returned when local host did not find a connection-oriented channel with given */
|
|
593
|
+
/** destination CID. */
|
|
594
|
+
static SL_STATUS_BT_L2CAP_CID_NOT_EXIST: number;
|
|
595
|
+
/** Returned when connection-oriented channel disconnected due to LE connection is dropped. */
|
|
596
|
+
static SL_STATUS_BT_L2CAP_LE_DISCONNECTED: number;
|
|
597
|
+
/** Returned when connection-oriented channel disconnected due to remote end send data */
|
|
598
|
+
/** even without credit. */
|
|
599
|
+
static SL_STATUS_BT_L2CAP_FLOW_CONTROL_VIOLATED: number;
|
|
600
|
+
/** Returned when connection-oriented channel disconnected due to remote end send flow */
|
|
601
|
+
/** control credits exceed 65535. */
|
|
602
|
+
static SL_STATUS_BT_L2CAP_FLOW_CONTROL_CREDIT_OVERFLOWED: number;
|
|
603
|
+
/** Returned when connection-oriented channel has run out of flow control credit and */
|
|
604
|
+
/** local application still trying to send data. */
|
|
605
|
+
static SL_STATUS_BT_L2CAP_NO_FLOW_CONTROL_CREDIT: number;
|
|
606
|
+
/** Returned when connection-oriented channel has not received connection response message */
|
|
607
|
+
/** within maximum timeout. */
|
|
608
|
+
static SL_STATUS_BT_L2CAP_CONNECTION_REQUEST_TIMEOUT: number;
|
|
609
|
+
/** Returned when local host received a connection-oriented channel connection response */
|
|
610
|
+
/** with an invalid destination CID. */
|
|
611
|
+
static SL_STATUS_BT_L2CAP_INVALID_CID: number;
|
|
612
|
+
/** Returned when local host application tries to send a command which is not suitable */
|
|
613
|
+
/** for L2CAP channel's current state. */
|
|
614
|
+
static SL_STATUS_BT_L2CAP_WRONG_STATE: number;
|
|
615
|
+
/** Flash reserved for PS store is full */
|
|
616
|
+
static SL_STATUS_BT_PS_STORE_FULL: number;
|
|
617
|
+
/** PS key not found */
|
|
618
|
+
static SL_STATUS_BT_PS_KEY_NOT_FOUND: number;
|
|
619
|
+
/** Mismatched or insufficient security level */
|
|
620
|
+
static SL_STATUS_BT_APPLICATION_MISMATCHED_OR_INSUFFICIENT_SECURITY: number;
|
|
621
|
+
/** Encrypion/decryption operation failed. */
|
|
622
|
+
static SL_STATUS_BT_APPLICATION_ENCRYPTION_DECRYPTION_ERROR: number;
|
|
623
|
+
/**Bluetooth controller status codes */
|
|
624
|
+
/** Connection does not exist, or connection open request was cancelled. */
|
|
625
|
+
static SL_STATUS_BT_CTRL_UNKNOWN_CONNECTION_IDENTIFIER: number;
|
|
626
|
+
/** Pairing or authentication failed due to incorrect results in the pairing or */
|
|
627
|
+
/** authentication procedure. This could be due to an incorrect PIN or Link Key */
|
|
628
|
+
static SL_STATUS_BT_CTRL_AUTHENTICATION_FAILURE: number;
|
|
629
|
+
/** Pairing failed because of missing PIN, or authentication failed because of missing Key */
|
|
630
|
+
static SL_STATUS_BT_CTRL_PIN_OR_KEY_MISSING: number;
|
|
631
|
+
/** Controller is out of memory. */
|
|
632
|
+
static SL_STATUS_BT_CTRL_MEMORY_CAPACITY_EXCEEDED: number;
|
|
633
|
+
/** Link supervision timeout has expired. */
|
|
634
|
+
static SL_STATUS_BT_CTRL_CONNECTION_TIMEOUT: number;
|
|
635
|
+
/** Controller is at limit of connections it can support. */
|
|
636
|
+
static SL_STATUS_BT_CTRL_CONNECTION_LIMIT_EXCEEDED: number;
|
|
637
|
+
/** The Synchronous Connection Limit to a Device Exceeded error code indicates that */
|
|
638
|
+
/** the Controller has reached the limit to the number of synchronous connections that */
|
|
639
|
+
/** can be achieved to a device. */
|
|
640
|
+
static SL_STATUS_BT_CTRL_SYNCHRONOUS_CONNECTION_LIMIT_EXCEEDED: number;
|
|
641
|
+
/** The ACL Connection Already Exists error code indicates that an attempt to create */
|
|
642
|
+
/** a new ACL Connection to a device when there is already a connection to this device. */
|
|
643
|
+
static SL_STATUS_BT_CTRL_ACL_CONNECTION_ALREADY_EXISTS: number;
|
|
644
|
+
/** Command requested cannot be executed because the Controller is in a state where */
|
|
645
|
+
/** it cannot process this command at this time. */
|
|
646
|
+
static SL_STATUS_BT_CTRL_COMMAND_DISALLOWED: number;
|
|
647
|
+
/** The Connection Rejected Due To Limited Resources error code indicates that an */
|
|
648
|
+
/** incoming connection was rejected due to limited resources. */
|
|
649
|
+
static SL_STATUS_BT_CTRL_CONNECTION_REJECTED_DUE_TO_LIMITED_RESOURCES: number;
|
|
650
|
+
/** The Connection Rejected Due To Security Reasons error code indicates that a */
|
|
651
|
+
/** connection was rejected due to security requirements not being fulfilled, like */
|
|
652
|
+
/** authentication or pairing. */
|
|
653
|
+
static SL_STATUS_BT_CTRL_CONNECTION_REJECTED_DUE_TO_SECURITY_REASONS: number;
|
|
654
|
+
/** The Connection was rejected because this device does not accept the BD_ADDR. */
|
|
655
|
+
/** This may be because the device will only accept connections from specific BD_ADDRs. */
|
|
656
|
+
static SL_STATUS_BT_CTRL_CONNECTION_REJECTED_DUE_TO_UNACCEPTABLE_BD_ADDR: number;
|
|
657
|
+
/** The Connection Accept Timeout has been exceeded for this connection attempt. */
|
|
658
|
+
static SL_STATUS_BT_CTRL_CONNECTION_ACCEPT_TIMEOUT_EXCEEDED: number;
|
|
659
|
+
/** A feature or parameter value in the HCI command is not supported. */
|
|
660
|
+
static SL_STATUS_BT_CTRL_UNSUPPORTED_FEATURE_OR_PARAMETER_VALUE: number;
|
|
661
|
+
/** Command contained invalid parameters. */
|
|
662
|
+
static SL_STATUS_BT_CTRL_INVALID_COMMAND_PARAMETERS: number;
|
|
663
|
+
/** User on the remote device terminated the connection. */
|
|
664
|
+
static SL_STATUS_BT_CTRL_REMOTE_USER_TERMINATED: number;
|
|
665
|
+
/** The remote device terminated the connection because of low resources */
|
|
666
|
+
static SL_STATUS_BT_CTRL_REMOTE_DEVICE_TERMINATED_CONNECTION_DUE_TO_LOW_RESOURCES: number;
|
|
667
|
+
/** Remote Device Terminated Connection due to Power Off */
|
|
668
|
+
static SL_STATUS_BT_CTRL_REMOTE_POWERING_OFF: number;
|
|
669
|
+
/** Local device terminated the connection. */
|
|
670
|
+
static SL_STATUS_BT_CTRL_CONNECTION_TERMINATED_BY_LOCAL_HOST: number;
|
|
671
|
+
/** The Controller is disallowing an authentication or pairing procedure because */
|
|
672
|
+
/** too little time has elapsed since the last authentication or pairing attempt failed. */
|
|
673
|
+
static SL_STATUS_BT_CTRL_REPEATED_ATTEMPTS: number;
|
|
674
|
+
/** The device does not allow pairing. This can be for example, when a device only */
|
|
675
|
+
/** allows pairing during a certain time window after some user input allows pairing */
|
|
676
|
+
static SL_STATUS_BT_CTRL_PAIRING_NOT_ALLOWED: number;
|
|
677
|
+
/** The remote device does not support the feature associated with the issued command. */
|
|
678
|
+
static SL_STATUS_BT_CTRL_UNSUPPORTED_REMOTE_FEATURE: number;
|
|
679
|
+
/** No other error code specified is appropriate to use. */
|
|
680
|
+
static SL_STATUS_BT_CTRL_UNSPECIFIED_ERROR: number;
|
|
681
|
+
/** Connection terminated due to link-layer procedure timeout. */
|
|
682
|
+
static SL_STATUS_BT_CTRL_LL_RESPONSE_TIMEOUT: number;
|
|
683
|
+
/** LL procedure has collided with the same transaction or procedure that is already */
|
|
684
|
+
/** in progress. */
|
|
685
|
+
static SL_STATUS_BT_CTRL_LL_PROCEDURE_COLLISION: number;
|
|
686
|
+
/** The requested encryption mode is not acceptable at this time. */
|
|
687
|
+
static SL_STATUS_BT_CTRL_ENCRYPTION_MODE_NOT_ACCEPTABLE: number;
|
|
688
|
+
/** Link key cannot be changed because a fixed unit key is being used. */
|
|
689
|
+
static SL_STATUS_BT_CTRL_LINK_KEY_CANNOT_BE_CHANGED: number;
|
|
690
|
+
/** LMP PDU or LL PDU that includes an instant cannot be performed because the instan */
|
|
691
|
+
/** when this would have occurred has passed. */
|
|
692
|
+
static SL_STATUS_BT_CTRL_INSTANT_PASSED: number;
|
|
693
|
+
/** It was not possible to pair as a unit key was requested and it is not supported. */
|
|
694
|
+
static SL_STATUS_BT_CTRL_PAIRING_WITH_UNIT_KEY_NOT_SUPPORTED: number;
|
|
695
|
+
/** LMP transaction was started that collides with an ongoing transaction. */
|
|
696
|
+
static SL_STATUS_BT_CTRL_DIFFERENT_TRANSACTION_COLLISION: number;
|
|
697
|
+
/** The Controller cannot perform channel assessment because it is not supported. */
|
|
698
|
+
static SL_STATUS_BT_CTRL_CHANNEL_ASSESSMENT_NOT_SUPPORTED: number;
|
|
699
|
+
/** The HCI command or LMP PDU sent is only possible on an encrypted link. */
|
|
700
|
+
static SL_STATUS_BT_CTRL_INSUFFICIENT_SECURITY: number;
|
|
701
|
+
/** A parameter value requested is outside the mandatory range of parameters for the */
|
|
702
|
+
/** given HCI command or LMP PDU. */
|
|
703
|
+
static SL_STATUS_BT_CTRL_PARAMETER_OUT_OF_MANDATORY_RANGE: number;
|
|
704
|
+
/** The IO capabilities request or response was rejected because the sending Host does */
|
|
705
|
+
/** not support Secure Simple Pairing even though the receiving Link Manager does. */
|
|
706
|
+
static SL_STATUS_BT_CTRL_SIMPLE_PAIRING_NOT_SUPPORTED_BY_HOST: number;
|
|
707
|
+
/** The Host is busy with another pairing operation and unable to support the requested */
|
|
708
|
+
/** pairing. The receiving device should retry pairing again later. */
|
|
709
|
+
static SL_STATUS_BT_CTRL_HOST_BUSY_PAIRING: number;
|
|
710
|
+
/** The Controller could not calculate an appropriate value for the Channel selection operation. */
|
|
711
|
+
static SL_STATUS_BT_CTRL_CONNECTION_REJECTED_DUE_TO_NO_SUITABLE_CHANNEL_FOUND: number;
|
|
712
|
+
/** Operation was rejected because the controller is busy and unable to process the request. */
|
|
713
|
+
static SL_STATUS_BT_CTRL_CONTROLLER_BUSY: number;
|
|
714
|
+
/** Remote device terminated the connection because of an unacceptable connection interval. */
|
|
715
|
+
static SL_STATUS_BT_CTRL_UNACCEPTABLE_CONNECTION_INTERVAL: number;
|
|
716
|
+
/** Ddvertising for a fixed duration completed or, for directed advertising, that advertising */
|
|
717
|
+
/** completed without a connection being created. */
|
|
718
|
+
static SL_STATUS_BT_CTRL_ADVERTISING_TIMEOUT: number;
|
|
719
|
+
/** Connection was terminated because the Message Integrity Check (MIC) failed on a */
|
|
720
|
+
/** received packet. */
|
|
721
|
+
static SL_STATUS_BT_CTRL_CONNECTION_TERMINATED_DUE_TO_MIC_FAILURE: number;
|
|
722
|
+
/** LL initiated a connection but the connection has failed to be established. Controller did not receive */
|
|
723
|
+
/** any packets from remote end. */
|
|
724
|
+
static SL_STATUS_BT_CTRL_CONNECTION_FAILED_TO_BE_ESTABLISHED: number;
|
|
725
|
+
/** The MAC of the 802.11 AMP was requested to connect to a peer, but the connection failed. */
|
|
726
|
+
static SL_STATUS_BT_CTRL_MAC_CONNECTION_FAILED: number;
|
|
727
|
+
/** The master, at this time, is unable to make a coarse adjustment to the piconet clock, */
|
|
728
|
+
/** using the supplied parameters. Instead the master will attempt to move the clock using clock dragging. */
|
|
729
|
+
static SL_STATUS_BT_CTRL_COARSE_CLOCK_ADJUSTMENT_REJECTED_BUT_WILL_TRY_TO_ADJUST_USING_CLOCK_DRAGGING: number;
|
|
730
|
+
/** A command was sent from the Host that should identify an Advertising or Sync handle, but the */
|
|
731
|
+
/** Advertising or Sync handle does not exist. */
|
|
732
|
+
static SL_STATUS_BT_CTRL_UNKNOWN_ADVERTISING_IDENTIFIER: number;
|
|
733
|
+
/** Number of operations requested has been reached and has indicated the completion of the activity */
|
|
734
|
+
/** (e.g., advertising or scanning). */
|
|
735
|
+
static SL_STATUS_BT_CTRL_LIMIT_REACHED: number;
|
|
736
|
+
/** A request to the Controller issued by the Host and still pending was successfully canceled. */
|
|
737
|
+
static SL_STATUS_BT_CTRL_OPERATION_CANCELLED_BY_HOST: number;
|
|
738
|
+
/** An attempt was made to send or receive a packet that exceeds the maximum allowed packet l */
|
|
739
|
+
static SL_STATUS_BT_CTRL_PACKET_TOO_LONG: number;
|
|
740
|
+
/**Bluetooth attribute status codes */
|
|
741
|
+
/** The attribute handle given was not valid on this server */
|
|
742
|
+
static SL_STATUS_BT_ATT_INVALID_HANDLE: number;
|
|
743
|
+
/** The attribute cannot be read */
|
|
744
|
+
static SL_STATUS_BT_ATT_READ_NOT_PERMITTED: number;
|
|
745
|
+
/** The attribute cannot be written */
|
|
746
|
+
static SL_STATUS_BT_ATT_WRITE_NOT_PERMITTED: number;
|
|
747
|
+
/** The attribute PDU was invalid */
|
|
748
|
+
static SL_STATUS_BT_ATT_INVALID_PDU: number;
|
|
749
|
+
/** The attribute requires authentication before it can be read or written. */
|
|
750
|
+
static SL_STATUS_BT_ATT_INSUFFICIENT_AUTHENTICATION: number;
|
|
751
|
+
/** Attribute Server does not support the request received from the client. */
|
|
752
|
+
static SL_STATUS_BT_ATT_REQUEST_NOT_SUPPORTED: number;
|
|
753
|
+
/** Offset specified was past the end of the attribute */
|
|
754
|
+
static SL_STATUS_BT_ATT_INVALID_OFFSET: number;
|
|
755
|
+
/** The attribute requires authorization before it can be read or written. */
|
|
756
|
+
static SL_STATUS_BT_ATT_INSUFFICIENT_AUTHORIZATION: number;
|
|
757
|
+
/** Too many prepare writes have been queued */
|
|
758
|
+
static SL_STATUS_BT_ATT_PREPARE_QUEUE_FULL: number;
|
|
759
|
+
/** No attribute found within the given attribute handle range. */
|
|
760
|
+
static SL_STATUS_BT_ATT_ATT_NOT_FOUND: number;
|
|
761
|
+
/** The attribute cannot be read or written using the Read Blob Request */
|
|
762
|
+
static SL_STATUS_BT_ATT_ATT_NOT_LONG: number;
|
|
763
|
+
/** The Encryption Key Size used for encrypting this link is insufficient. */
|
|
764
|
+
static SL_STATUS_BT_ATT_INSUFFICIENT_ENC_KEY_SIZE: number;
|
|
765
|
+
/** The attribute value length is invalid for the operation */
|
|
766
|
+
static SL_STATUS_BT_ATT_INVALID_ATT_LENGTH: number;
|
|
767
|
+
/** The attribute request that was requested has encountered an error that was unlikely, and */
|
|
768
|
+
/** therefore could not be completed as requested. */
|
|
769
|
+
static SL_STATUS_BT_ATT_UNLIKELY_ERROR: number;
|
|
770
|
+
/** The attribute requires encryption before it can be read or written. */
|
|
771
|
+
static SL_STATUS_BT_ATT_INSUFFICIENT_ENCRYPTION: number;
|
|
772
|
+
/** The attribute type is not a supported grouping attribute as defined by a higher layer */
|
|
773
|
+
/** specification. */
|
|
774
|
+
static SL_STATUS_BT_ATT_UNSUPPORTED_GROUP_TYPE: number;
|
|
775
|
+
/** Insufficient Resources to complete the request */
|
|
776
|
+
static SL_STATUS_BT_ATT_INSUFFICIENT_RESOURCES: number;
|
|
777
|
+
/** The server requests the client to rediscover the database. */
|
|
778
|
+
static SL_STATUS_BT_ATT_OUT_OF_SYNC: number;
|
|
779
|
+
/** The attribute parameter value was not allowed. */
|
|
780
|
+
static SL_STATUS_BT_ATT_VALUE_NOT_ALLOWED: number;
|
|
781
|
+
/** When this is returned in a BGAPI response, the application tried to read or write the */
|
|
782
|
+
/** value of a user attribute from the GATT databa */
|
|
783
|
+
static SL_STATUS_BT_ATT_APPLICATION: number;
|
|
784
|
+
/** The requested write operation cannot be fulfilled for reasons other than permissions. */
|
|
785
|
+
static SL_STATUS_BT_ATT_WRITE_REQUEST_REJECTED: number;
|
|
786
|
+
/** The Client Characteristic Configuration descriptor is not configured according to the */
|
|
787
|
+
/** requirements of the profile or service. */
|
|
788
|
+
static SL_STATUS_BT_ATT_CLIENT_CHARACTERISTIC_CONFIGURATION_DESCRIPTOR_IMPROPERLY_CONFIGURED: number;
|
|
789
|
+
/** The profile or service request cannot be serviced because an operation that has been */
|
|
790
|
+
/** previously triggered is still in progress. */
|
|
791
|
+
static SL_STATUS_BT_ATT_PROCEDURE_ALREADY_IN_PROGRESS: number;
|
|
792
|
+
/** The attribute value is out of range as defined by a profile or service specification. */
|
|
793
|
+
static SL_STATUS_BT_ATT_OUT_OF_RANGE: number;
|
|
794
|
+
/**Bluetooth Security Manager Protocol status codes */
|
|
795
|
+
/** The user input of passkey failed, for example, the user cancelled the operation */
|
|
796
|
+
static SL_STATUS_BT_SMP_PASSKEY_ENTRY_FAILED: number;
|
|
797
|
+
/** Out of Band data is not available for authentication */
|
|
798
|
+
static SL_STATUS_BT_SMP_OOB_NOT_AVAILABLE: number;
|
|
799
|
+
/** The pairing procedure cannot be performed as authentication requirements cannot be */
|
|
800
|
+
/** met due to IO capabilities of one or both devices */
|
|
801
|
+
static SL_STATUS_BT_SMP_AUTHENTICATION_REQUIREMENTS: number;
|
|
802
|
+
/** The confirm value does not match the calculated compare value */
|
|
803
|
+
static SL_STATUS_BT_SMP_CONFIRM_VALUE_FAILED: number;
|
|
804
|
+
/** Pairing is not supported by the device */
|
|
805
|
+
static SL_STATUS_BT_SMP_PAIRING_NOT_SUPPORTED: number;
|
|
806
|
+
/** The resultant encryption key size is insufficient for the security requirements of this device */
|
|
807
|
+
static SL_STATUS_BT_SMP_ENCRYPTION_KEY_SIZE: number;
|
|
808
|
+
/** The SMP command received is not supported on this device */
|
|
809
|
+
static SL_STATUS_BT_SMP_COMMAND_NOT_SUPPORTED: number;
|
|
810
|
+
/** Pairing failed due to an unspecified reason */
|
|
811
|
+
static SL_STATUS_BT_SMP_UNSPECIFIED_REASON: number;
|
|
812
|
+
/** Pairing or authentication procedure is disallowed because too little time has elapsed */
|
|
813
|
+
/** since last pairing request or security request */
|
|
814
|
+
static SL_STATUS_BT_SMP_REPEATED_ATTEMPTS: number;
|
|
815
|
+
/** The Invalid Parameters error code indicates: the command length is invalid or a parameter */
|
|
816
|
+
/** is outside of the specified range. */
|
|
817
|
+
static SL_STATUS_BT_SMP_INVALID_PARAMETERS: number;
|
|
818
|
+
/** Indicates to the remote device that the DHKey Check value received doesn't match the one */
|
|
819
|
+
/** calculated by the local device. */
|
|
820
|
+
static SL_STATUS_BT_SMP_DHKEY_CHECK_FAILED: number;
|
|
821
|
+
/** Indicates that the confirm values in the numeric comparison protocol do not match. */
|
|
822
|
+
static SL_STATUS_BT_SMP_NUMERIC_COMPARISON_FAILED: number;
|
|
823
|
+
/** Indicates that the pairing over the LE transport failed due to a Pairing Request */
|
|
824
|
+
/** sent over the BR/EDR transport in process. */
|
|
825
|
+
static SL_STATUS_BT_SMP_BREDR_PAIRING_IN_PROGRESS: number;
|
|
826
|
+
/** Indicates that the BR/EDR Link Key generated on the BR/EDR transport cannot be used */
|
|
827
|
+
/** to derive and distribute keys for the LE transport. */
|
|
828
|
+
static SL_STATUS_BT_SMP_CROSS_TRANSPORT_KEY_DERIVATION_GENERATION_NOT_ALLOWED: number;
|
|
829
|
+
/** Indicates that the device chose not to accept a distributed key. */
|
|
830
|
+
static SL_STATUS_BT_SMP_KEY_REJECTED: number;
|
|
831
|
+
/**Bluetooth Mesh status codes */
|
|
832
|
+
/** Returned when trying to add a key or some other unique resource with an ID which already exists */
|
|
833
|
+
static SL_STATUS_BT_MESH_ALREADY_EXISTS: number;
|
|
834
|
+
/** Returned when trying to manipulate a key or some other resource with an ID which does not exist */
|
|
835
|
+
static SL_STATUS_BT_MESH_DOES_NOT_EXIST: number;
|
|
836
|
+
/** Returned when an operation cannot be executed because a pre-configured limit for keys, */
|
|
837
|
+
/** key bindings, elements, models, virtual addresses, provisioned devices, or provisioning sessions is reached */
|
|
838
|
+
static SL_STATUS_BT_MESH_LIMIT_REACHED: number;
|
|
839
|
+
/** Returned when trying to use a reserved address or add a "pre-provisioned" device */
|
|
840
|
+
/** using an address already used by some other device */
|
|
841
|
+
static SL_STATUS_BT_MESH_INVALID_ADDRESS: number;
|
|
842
|
+
/** In a BGAPI response, the user supplied malformed data; in a BGAPI event, the remote */
|
|
843
|
+
/** end responded with malformed or unrecognized data */
|
|
844
|
+
static SL_STATUS_BT_MESH_MALFORMED_DATA: number;
|
|
845
|
+
/** An attempt was made to initialize a subsystem that was already initialized. */
|
|
846
|
+
static SL_STATUS_BT_MESH_ALREADY_INITIALIZED: number;
|
|
847
|
+
/** An attempt was made to use a subsystem that wasn't initialized yet. Call the */
|
|
848
|
+
/** subsystem's init function first. */
|
|
849
|
+
static SL_STATUS_BT_MESH_NOT_INITIALIZED: number;
|
|
850
|
+
/** Returned when trying to establish a friendship as a Low Power Node, but no acceptable */
|
|
851
|
+
/** friend offer message was received. */
|
|
852
|
+
static SL_STATUS_BT_MESH_NO_FRIEND_OFFER: number;
|
|
853
|
+
/** Provisioning link was unexpectedly closed before provisioning was complete. */
|
|
854
|
+
static SL_STATUS_BT_MESH_PROV_LINK_CLOSED: number;
|
|
855
|
+
/** An unrecognized provisioning PDU was received. */
|
|
856
|
+
static SL_STATUS_BT_MESH_PROV_INVALID_PDU: number;
|
|
857
|
+
/** A provisioning PDU with wrong length or containing field values that are out of */
|
|
858
|
+
/** bounds was received. */
|
|
859
|
+
static SL_STATUS_BT_MESH_PROV_INVALID_PDU_FORMAT: number;
|
|
860
|
+
/** An unexpected (out of sequence) provisioning PDU was received. */
|
|
861
|
+
static SL_STATUS_BT_MESH_PROV_UNEXPECTED_PDU: number;
|
|
862
|
+
/** The computed confirmation value did not match the expected value. */
|
|
863
|
+
static SL_STATUS_BT_MESH_PROV_CONFIRMATION_FAILED: number;
|
|
864
|
+
/** Provisioning could not be continued due to insufficient resources. */
|
|
865
|
+
static SL_STATUS_BT_MESH_PROV_OUT_OF_RESOURCES: number;
|
|
866
|
+
/** The provisioning data block could not be decrypted. */
|
|
867
|
+
static SL_STATUS_BT_MESH_PROV_DECRYPTION_FAILED: number;
|
|
868
|
+
/** An unexpected error happened during provisioning. */
|
|
869
|
+
static SL_STATUS_BT_MESH_PROV_UNEXPECTED_ERROR: number;
|
|
870
|
+
/** Device could not assign unicast addresses to all of its elements. */
|
|
871
|
+
static SL_STATUS_BT_MESH_PROV_CANNOT_ASSIGN_ADDR: number;
|
|
872
|
+
/** Returned when trying to reuse an address of a previously deleted device before an */
|
|
873
|
+
/** IV Index Update has been executed. */
|
|
874
|
+
static SL_STATUS_BT_MESH_ADDRESS_TEMPORARILY_UNAVAILABLE: number;
|
|
875
|
+
/** Returned when trying to assign an address that is used by one of the devices in the */
|
|
876
|
+
/** Device Database, or by the Provisioner itself. */
|
|
877
|
+
static SL_STATUS_BT_MESH_ADDRESS_ALREADY_USED: number;
|
|
878
|
+
/** Application key or publish address are not set */
|
|
879
|
+
static SL_STATUS_BT_MESH_PUBLISH_NOT_CONFIGURED: number;
|
|
880
|
+
/** Application key is not bound to a model */
|
|
881
|
+
static SL_STATUS_BT_MESH_APP_KEY_NOT_BOUND: number;
|
|
882
|
+
/**Bluetooth Mesh foundation status codes */
|
|
883
|
+
/** Returned when address in request was not valid */
|
|
884
|
+
static SL_STATUS_BT_MESH_FOUNDATION_INVALID_ADDRESS: number;
|
|
885
|
+
/** Returned when model identified is not found for a given element */
|
|
886
|
+
static SL_STATUS_BT_MESH_FOUNDATION_INVALID_MODEL: number;
|
|
887
|
+
/** Returned when the key identified by AppKeyIndex is not stored in the node */
|
|
888
|
+
static SL_STATUS_BT_MESH_FOUNDATION_INVALID_APP_KEY: number;
|
|
889
|
+
/** Returned when the key identified by NetKeyIndex is not stored in the node */
|
|
890
|
+
static SL_STATUS_BT_MESH_FOUNDATION_INVALID_NET_KEY: number;
|
|
891
|
+
/** Returned when The node cannot serve the request due to insufficient resources */
|
|
892
|
+
static SL_STATUS_BT_MESH_FOUNDATION_INSUFFICIENT_RESOURCES: number;
|
|
893
|
+
/** Returned when the key identified is already stored in the node and the new */
|
|
894
|
+
/** NetKey value is different */
|
|
895
|
+
static SL_STATUS_BT_MESH_FOUNDATION_KEY_INDEX_EXISTS: number;
|
|
896
|
+
/** Returned when the model does not support the publish mechanism */
|
|
897
|
+
static SL_STATUS_BT_MESH_FOUNDATION_INVALID_PUBLISH_PARAMS: number;
|
|
898
|
+
/** Returned when the model does not support the subscribe mechanism */
|
|
899
|
+
static SL_STATUS_BT_MESH_FOUNDATION_NOT_SUBSCRIBE_MODEL: number;
|
|
900
|
+
/** Returned when storing of the requested parameters failed */
|
|
901
|
+
static SL_STATUS_BT_MESH_FOUNDATION_STORAGE_FAILURE: number;
|
|
902
|
+
/** Returned when requested setting is not supported */
|
|
903
|
+
static SL_STATUS_BT_MESH_FOUNDATION_NOT_SUPPORTED: number;
|
|
904
|
+
/** Returned when the requested update operation cannot be performed due to general constraints */
|
|
905
|
+
static SL_STATUS_BT_MESH_FOUNDATION_CANNOT_UPDATE: number;
|
|
906
|
+
/** Returned when the requested delete operation cannot be performed due to general constraints */
|
|
907
|
+
static SL_STATUS_BT_MESH_FOUNDATION_CANNOT_REMOVE: number;
|
|
908
|
+
/** Returned when the requested bind operation cannot be performed due to general constraints */
|
|
909
|
+
static SL_STATUS_BT_MESH_FOUNDATION_CANNOT_BIND: number;
|
|
910
|
+
/** Returned when The node cannot start advertising with Node Identity or Proxy since the */
|
|
911
|
+
/** maximum number of parallel advertising is reached */
|
|
912
|
+
static SL_STATUS_BT_MESH_FOUNDATION_TEMPORARILY_UNABLE: number;
|
|
913
|
+
/** Returned when the requested state cannot be set */
|
|
914
|
+
static SL_STATUS_BT_MESH_FOUNDATION_CANNOT_SET: number;
|
|
915
|
+
/** Returned when an unspecified error took place */
|
|
916
|
+
static SL_STATUS_BT_MESH_FOUNDATION_UNSPECIFIED: number;
|
|
917
|
+
/** Returned when the NetKeyIndex and AppKeyIndex combination is not valid for a Config AppKey Update */
|
|
918
|
+
static SL_STATUS_BT_MESH_FOUNDATION_INVALID_BINDING: number;
|
|
919
|
+
/**Wi-Fi Errors */
|
|
920
|
+
/** Invalid firmware keyset */
|
|
921
|
+
static SL_STATUS_WIFI_INVALID_KEY: number;
|
|
922
|
+
/** The firmware download took too long */
|
|
923
|
+
static SL_STATUS_WIFI_FIRMWARE_DOWNLOAD_TIMEOUT: number;
|
|
924
|
+
/** Unknown request ID or wrong interface ID used */
|
|
925
|
+
static SL_STATUS_WIFI_UNSUPPORTED_MESSAGE_ID: number;
|
|
926
|
+
/** The request is successful but some parameters have been ignored */
|
|
927
|
+
static SL_STATUS_WIFI_WARNING: number;
|
|
928
|
+
/** No Packets waiting to be received */
|
|
929
|
+
static SL_STATUS_WIFI_NO_PACKET_TO_RECEIVE: number;
|
|
930
|
+
/** The sleep mode is granted */
|
|
931
|
+
static SL_STATUS_WIFI_SLEEP_GRANTED: number;
|
|
932
|
+
/** The WFx does not go back to sleep */
|
|
933
|
+
static SL_STATUS_WIFI_SLEEP_NOT_GRANTED: number;
|
|
934
|
+
/** The SecureLink MAC key was not found */
|
|
935
|
+
static SL_STATUS_WIFI_SECURE_LINK_MAC_KEY_ERROR: number;
|
|
936
|
+
/** The SecureLink MAC key is already installed in OTP */
|
|
937
|
+
static SL_STATUS_WIFI_SECURE_LINK_MAC_KEY_ALREADY_BURNED: number;
|
|
938
|
+
/** The SecureLink MAC key cannot be installed in RAM */
|
|
939
|
+
static SL_STATUS_WIFI_SECURE_LINK_RAM_MODE_NOT_ALLOWED: number;
|
|
940
|
+
/** The SecureLink MAC key installation failed */
|
|
941
|
+
static SL_STATUS_WIFI_SECURE_LINK_FAILED_UNKNOWN_MODE: number;
|
|
942
|
+
/** SecureLink key (re)negotiation failed */
|
|
943
|
+
static SL_STATUS_WIFI_SECURE_LINK_EXCHANGE_FAILED: number;
|
|
944
|
+
/** The device is in an inappropriate state to perform the request */
|
|
945
|
+
static SL_STATUS_WIFI_WRONG_STATE: number;
|
|
946
|
+
/** The request failed due to regulatory limitations */
|
|
947
|
+
static SL_STATUS_WIFI_CHANNEL_NOT_ALLOWED: number;
|
|
948
|
+
/** The connection request failed because no suitable AP was found */
|
|
949
|
+
static SL_STATUS_WIFI_NO_MATCHING_AP: number;
|
|
950
|
+
/** The connection request was aborted by host */
|
|
951
|
+
static SL_STATUS_WIFI_CONNECTION_ABORTED: number;
|
|
952
|
+
/** The connection request failed because of a timeout */
|
|
953
|
+
static SL_STATUS_WIFI_CONNECTION_TIMEOUT: number;
|
|
954
|
+
/** The connection request failed because the AP rejected the device */
|
|
955
|
+
static SL_STATUS_WIFI_CONNECTION_REJECTED_BY_AP: number;
|
|
956
|
+
/** The connection request failed because the WPA handshake did not complete successfully */
|
|
957
|
+
static SL_STATUS_WIFI_CONNECTION_AUTH_FAILURE: number;
|
|
958
|
+
/** The request failed because the retry limit was exceeded */
|
|
959
|
+
static SL_STATUS_WIFI_RETRY_EXCEEDED: number;
|
|
960
|
+
/** The request failed because the MSDU life time was exceeded */
|
|
961
|
+
static SL_STATUS_WIFI_TX_LIFETIME_EXCEEDED: number;
|
|
962
|
+
}
|
|
403
963
|
export declare class EmberStackError extends basic.uint8_t {
|
|
404
964
|
static EMBER_ROUTE_ERROR_NO_ROUTE_AVAILABLE: number;
|
|
405
965
|
static EMBER_ROUTE_ERROR_TREE_LINK_FAILURE: number;
|