AwsRemoteControl.apk not showing accelerometer info

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

AwsRemoteControl.apk not showing accelerometer info

Jump to solution
1,936 Views
dguartg
Contributor II

Hello

I am worknig on the AWS configuration witht he project frdmk64f_aws_remote_control_enet
i completed all the configuration tasks and i'm able to toogle the leds from alexa and also it work when i request to update the accelerometer info but its not showing oin the android application located in: boards\frdmk64f\aws_examples\remote_control_android i have android 11

this are mi configurations on the preferences file:
customer_specific_endpoint=a12bxxxxx-ats.iot.us-east-1.amazonaws.com
cognito_pool_id=us-east-1:33d95xxx-de1f-40da-9200-2d1cxxxxxxx
thing_name=myNXPthing
region=us-east-1

i have attached the screenshoot of the application on my cellphone

Thank you for your time 

0 Kudos
1 Solution
1,828 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @dguartg ,

   Thanks for your patient.

   I think it may also related the AWS creation, I mean the .properties file.

  As I try my old properties file, it contains the accel interface, this is the test result.

   phonepicture.jpg

 

You can try my attached file, whether you can find the accel interface?

 

Best Regards,

Kerry

 

View solution in original post

10 Replies
1,829 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @dguartg ,

   Thanks for your patient.

   I think it may also related the AWS creation, I mean the .properties file.

  As I try my old properties file, it contains the accel interface, this is the test result.

   phonepicture.jpg

 

You can try my attached file, whether you can find the accel interface?

 

Best Regards,

Kerry

 

1,823 Views
dguartg
Contributor II

hi @kerryzhou 

with your file i'm able to see the info, and the objects displayed are different as is shown on the document.
i will check further on my side, thank you 

0 Kudos
1,817 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @dguartg 

You also can check the thing shadow, whether it contains the accel:

kerryzhou_0-1638946183428.png

 

Best Regards,

Kerry

 

0 Kudos
1,898 Views
dguartg
Contributor II

Hello @kerry i appreciate your time.

sorry for the lack of information, my SDK version is 2.10.0(494 2021-07-15)

My APK file path is: DK_2_10_0_FRDM-K64F\boards\frdmk64f\aws_examples\remote_control_android\AwsRemoteControl.apk

 

Please let me know iif you need anything else

Regards

Guart

0 Kudos
1,890 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @dguartg 

  Thanks for your updated information.

  tomorrow, I will find a andriod phone to test it.

  Btw, do you test it associated with the FRDM-K64 board, with the wifi board? Whether after the communication, the phone interface will show accelerometer or not?

  What's the wifi module you are using now? Or do you just use the Ethernet to communicate?

 

Best Regards,

Kerry

0 Kudos
1,884 Views
dguartg
Contributor II

Hi @kerryzhou 
to connect the board i use the ethernet cable only 

0 Kudos
1,875 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @dguartg ,

  Thanks for your updated information.

 Except for the accel, whether led communication through the phone and FRDM board works or not?

 In my memory, if the SDK code already support the accel publish, after the phone adriod receive the accel data, it will show the accel data screen, otherwise, it just share the led screen.

  So, I think at first, you should need to do the communication at first, do you also use the mqtt to check your data, if you subscribe the data, wehther you can receive the accel data or not?

 

Best Regards,

Kerry

1,867 Views
dguartg
Contributor II

Hi @kerryzhou 

Yes i'm able to manipulate the leds trough the app, and also i'm able to see the MQTT data when i push for the accel uipdate in the amazon developer page but it does not show anything at the android app 

 

Regards

dguartg

0 Kudos
1,841 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @dguartg 

   Thanks for your information.

 I am testing it on my side, please keep patient, these days really a little busy, thanks a lot for your understanding.

Best Regards,

Kerry

0 Kudos
1,906 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @dguartg 

 Please also tell me your used SDK version, and your apk path in the SDK, I will help you to check it on my side.

 BTW, this is the NXP RT community , next time, if you have the kinetis issues, please go to the kinetis area, then our kinetis engineer will help you!

https://community.nxp.com/t5/Kinetis-Microcontrollers/bd-p/kinetis

Best Regards,

Kerry