接入原生地球暂存
This commit is contained in:
1 parent
aa0c8d4fb6
commit
27c438aa3f
13 files changed
+57
-40
No files matched your search
@@ -126,6 +126,7 @@ namespace Assets.Scripts.Devices.Ant
|
||||
if (response.responseID == (byte)ANT_Managed_Library.ANT_ReferenceLibrary.ANTMessageID.BROADCAST_DATA_0x4E)
|
||||
{
|
||||
var pageNumber = response.messageContents[1];
|
||||
|
||||
switch (pageNumber)
|
||||
{
|
||||
case 16: //Page 16 - General Page
|
||||
@@ -223,6 +224,7 @@ namespace Assets.Scripts.Devices.Ant
|
||||
|
||||
private void HandleTrainerDataPage(byte[] dataPayload)
|
||||
{
|
||||
Debug.Log("ant+数据" + string.Join(",", dataPayload));
|
||||
//if (response.messageContents.Length < 11) break;
|
||||
//double value = 0;
|
||||
//for (int i = 0; i < response.messageContents.Length; i++)
|
||||
|
||||
Reference in new issue
Block a user