| | |
| | | /// <returns></returns> |
| | | private string GetSendToBluetoothData() |
| | | { |
| | | var pra = new { id = "id010203", ssid = this.wifiName, password = this.wifiPsw, homeId = Entity.DB_ResidenceData.Instance.CurrentRegion.id }; |
| | | //var pra = new { id = "id010203", ssid = this.wifiName, password = this.wifiPsw, homeId = Entity.DB_ResidenceData.Instance.CurrentRegion.id }; |
| | | var pra = new { id = DateTime.Now.Ticks.ToString(), ssid = this.wifiName, password = this.wifiPsw, homeId = Entity.DB_ResidenceData.Instance.CurrentRegion.id }; |
| | | var praData = Newtonsoft.Json.JsonConvert.SerializeObject(pra); |
| | | |
| | | var sendData = "Topic:/user/id/custom/wifi/set\r\n"; |