# sendSourceDataNotification ^10.2.0
发送通知给设备,设备不需要回复。支持A3设备才能使用
# 请求参数
| Prop | Type | Required | Default | Description | 
|---|---|---|---|---|
param |  Object |  Y |  {}属性: mac:{Type: String, Default: N/A, Description: 蓝牙mac地址 } applianceId:{Type: String, Default: N/A, Description: 设备id,(可以从getDeviceInfo中读取deviceId<) data:{Type: String, Default: N/A, Description: 发给设备的电控数据 }  |  请求参数 | 
# 接口调用示例
let param={
    mac:"xxxx", //蓝牙mac地址,从getDeviceInfo中读取mac
    applianceId:"xxx", //设备id, getDeviceInfo中读取deviceId
    data:"xxx", // 发给设备的电控数据
}
this.$bridge
    .sendSourceDataNotification(params)
    .then(res => {    
    this.$alert(res)
    })
    .catch(err => {
    this.$toast(err)
    })
 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
2
3
4
5
6
7
8
9
10
11
12
13
14
15
TIP
该接口基于mSmart 协议,底层由singleBlueToothModule单蓝牙支持