MCPcopy Create free account
hub / github.com/bytespider/Meross / sendMessage

Method sendMessage

packages/lib/src/device.ts:121–126  ·  view source on GitHub ↗
(message: any)

Source from the content-addressed store, hash-verified

119 }
120
121 private sendMessage(message: any): Promise<Record<string, any>> {
122 return this.transport.send({
123 message,
124 encryptionKey: this.encryptionKeys.sharedKey,
125 });
126 }
127
128 async fetchDeviceInfo() {
129 deviceLogger.info(`Fetching device information for ${this.id}`);

Callers 8

fetchDeviceInfoMethod · 0.95
fetchDeviceAbilitiesMethod · 0.95
fetchDeviceTimeMethod · 0.95
exchangeKeysMethod · 0.95
configureDeviceTimeMethod · 0.95
fetchNearbyWifiMethod · 0.95
configureWifiMethod · 0.95

Calls 1

sendMethod · 0.80

Tested by

no test coverage detected