更新设备控制
This commit is contained in:
@@ -218,6 +218,10 @@ class MHTBlueToothController extends GetControllerEx<MHTBlueToothModel> {
|
||||
"macA": bleDevice.macA,
|
||||
if (bleDevice.macB != null && bleDevice.macB!.isNotEmpty)
|
||||
"macB": bleDevice.macB,
|
||||
if (bleDevice.name!=null && bleDevice.name!.isNotEmpty)
|
||||
'param':{
|
||||
'name':bleDevice.name,
|
||||
},
|
||||
};
|
||||
|
||||
var response =
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import 'package:flutter_blue_plus/flutter_blue_plus.dart';
|
||||
|
||||
class BlueToothDataModel {
|
||||
String name;
|
||||
String name;//设备型号
|
||||
bool bind;
|
||||
String mac;
|
||||
ScanResult scanResult;
|
||||
|
||||
Reference in New Issue
Block a user