public static RPiCommLink GetInstance() { if (m_rpiCommLink == null) { m_rpiCommLink = new RPiCommLink(); } return(m_rpiCommLink); }
/// <summary> /// Update all values asynchronously from the BLE device /// </summary> /// <returns>The response message.</returns> public async Task <string> UpdateAsync() { return(await RPiCommLink.GetInstance().SendCommandAsync(m_commandString)); }
/// <summary> /// Update all values from the BLE device /// </summary> /// <returns>The response message.</returns> public string Update() { return(RPiCommLink.GetInstance().SendCommand(m_commandString)); }