-
Notifications
You must be signed in to change notification settings - Fork 252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
meta_info结构体参数在IOT_Linkkit_Open中没有任何作用,用户无法在应用层传入四元组 #144
Comments
@xiongyu0523
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
尝试运行linkkit_example_solo.c例程,根据CSDK快速体验中的描述:
“注:用户也可以不用修改这些全局变量,而是直接修改HAL_GetProductKey()等函数返回设备身份信息。”
尝试在main.c中给四元组赋值,并且屏蔽283-286行。结果发现设备连接有问题,能连上但物模型不正确,在控制台也看不到设备上线。
最后发现是不管应用层传什么东西给IOT_Linkkit_Open(),在实现里都会不会用到,转而使用HAL_GetXXX()函数去获取四元组。
此设计容易给人误解,应用层该具备override的能力
The text was updated successfully, but these errors were encountered: