Skip to content

QueryBeaconByMac

根据mac地址获取蓝牙信标。

使用说明

暂无。

请求方式

POST

请求地址

http://xxx/gateway/hm-appstore-server/app/market/findByMac

请求参数

QueryBeaconByMacRequest

名称类型是否必选描述
macStringmac地址
macTypeStringMac类型,蓝牙bleMac 星闪sleMac

返回数据

QueryBeaconByMacResponse

名称类型描述
codeString调用成功,返回0,调用失败,查看错误信息。
msgString调用成功,提示"操作成功",调用失败,查看错误信息。
dataObject返回结果。结果内容详情,查看下方示例。

示例

请求示例

json
{
  "mac": "4r4335r1",
  "macType": "sleMac"
}

返回示例

json
{
  "code": "0",
  "msg": "操作成功",
  "data": {
    "id": "1bf1fd3111813b91b5ddb9fb50f84745",
    "bluetoothUuid": "121",
    "bluetoothMac": "33w",
    "starUuid": "ewewe",
    "starMac": "4r4335r1",
    "appPackageName": "com.t.test01",
    "placeAddress": "",
    "snNumber": "123",
    "customParams": "",
    "createTime": "2024-06-04 18:06:35"
  }
}