完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好
刚开始通过Linux与sensortile进行交互,如果任何机构可以帮我一个忙,我将非常感激 让我有gatt表,uuid等。 问候 Hesan 以上来自于谷歌翻译 以下为原文 Hello Just starting to interact with sensortile through Linux, would be very appreciated if any body could do me a favor and let me have the gatt table, uuid,etc.. Regards Hesan |
|
相关推荐
3个回答
|
|
|
|
|
|
sensortile是一种多传感器设备,为我们提供了许多物理数据,如加速度,温度等。您可以在官方网站上找到更多有关sensortile的信息:
/external-link.jspa?url=http%3A%2F%2Fwww.st.com%2Fen%2Fevaluation-tools%2Fsteval-stlkt01v1.html 还有一个示例应用程序(android / ios)用于接收和监控sensortile数据。 Android SDK和示例应用程序源代码在github上可用: /external-link.jspa?url=https%3A%2F%2Fgithub.com%2FSTMicroelectronics-CentralLabs%2FSTBlueMS_Android 在尝试使用sensortile捕获一些物理数据时(在一个不是android的平台上)我发现没有使用敏感BLE的数据表或GATT表;但是有一些标准规则。我会在几天内附上一个示例python脚本(使用bluepy),这样你就会看到原始数据...... 所以这是关贸总协定表: ProximityGesture ::运动强度: handle:0x000d,char属性:0x12,char值句柄:0x000e,uuid:00140000-0001-11e1-ac36-0002a5d5c51b FeatureAcceleration :: FeatureGyroscope :: FeatureMagnetometer: handle:0x0010,char属性:0x10,char值句柄:0x0011,uuid:00e00000-0001-11e1-ac36-0002a5d5c51b FeatureAccelerationEvent: handle:0x0013,char属性:0x12,char值句柄:0x0014,uuid:00000400-0001-11e1-ac36-0002a5d5c51b FeatureMicLevel: handle:0x0016,char属性:0x10,char值句柄:0x0017,uuid:04000000-0001-11e1-ac36-0002a5d5c51b FeatureMemsSensorFusionCompact: handle:0x0019,char属性:0x10,char值句柄:0x001a,uuid:00000100-0001-11e1-ac36-0002a5d5c51b FeatureCompass: handle:0x001c,char属性:0x10,char值句柄:0x001d,uuid:00000040-0001-11e1-ac36-0002a5d5c51b FeatureActivity: handle:0x001f,char属性:0x12,char值句柄:0x0020,uuid:00000010-0001-11e1-ac36-0002a5d5c51b FeatureCarryPosition: handle:0x0022,char属性:0x12,char值句柄:0x0023,uuid:00000008-0001-11e1-ac36-0002a5d5c51b FeatureMemsGesture: handle:0x0025,char属性:0x12,char值句柄:0x0026,uuid:00000002-0001-11e1-ac36-0002a5d5c51b FeatureAudioADPCM: handle:0x0028,char属性:0x10,char值句柄:0x0029,uuid:08000000-0001-11e1-ac36-0002a5d5c51b FeatureAudioADPCMSync: handle:0x002b,char属性:0x10,char值句柄:0x002c,uuid:40000000-0001-11e1-ac36-0002a5d5c51beach特性包含3个描述。您必须将值0x0100写入每个char的第一个描述(这是一种标准方法)。然后sensortile将作为通知连续发送数据。您可以同时启用多个通知。通知将作为特征值到达。所以你可以区分通知。 注1: 对于两个第一个字符,数据有以下patern: 2字节<时间戳> 2byte< acc data x> 2byte< acc data y> ... 2byte< mag数据间距> 在SDK git页面上有一些关于数据结构和uuid前缀的更多信息: https://github.com/STMicroelectronics-CentralLabs/BlueSTSDK_Android/tree/b490d4d382e6f8dddbf9ce6e02414a53d576cd58 笔记2: 每个char数据都有两个第一个字节的时间戳,流数据(音频)除外 注意:原始帖子包含大量线程对话,只能迁移到第9级 以上来自于谷歌翻译 以下为原文 sensortile is a multi-sensor device, giving us many physical data such as acceleration, temprature, etc. you can find out more about sensortile on official website: /external-link.jspa?url=http%3A%2F%2Fwww.st.com%2Fen%2Fevaluation-tools%2Fsteval-stlkt01v1.html there is also an example application (android/ios) for recieving and monitoring sensortile data. the android SDK and example app source code are available on github: /external-link.jspa?url=https%3A%2F%2Fgithub.com%2FSTMicroelectronics-CentralLabs%2FSTBlueMS_Android while trying to use sensortile to catch some physical data (on a platform that's not android) i found out there is no datasheet or GATT table for using sensortile BLE; however there is some standard rules. i will attach a sample python script (uses bluepy) in a few days so you will see the raw data... so here is the GATT table: ProximityGesture::Motion Intensity: handle: 0x000d, char properties: 0x12, char value handle: 0x000e, uuid: 00140000-0001-11e1-ac36-0002a5d5c51b FeatureAcceleration::FeatureGyroscope::FeatureMagnetometer: handle: 0x0010, char properties: 0x10, char value handle: 0x0011, uuid: 00e00000-0001-11e1-ac36-0002a5d5c51b FeatureAccelerationEvent: handle: 0x0013, char properties: 0x12, char value handle: 0x0014, uuid: 00000400-0001-11e1-ac36-0002a5d5c51b FeatureMicLevel: handle: 0x0016, char properties: 0x10, char value handle: 0x0017, uuid: 04000000-0001-11e1-ac36-0002a5d5c51b FeatureMemsSensorFusionCompact: handle: 0x0019, char properties: 0x10, char value handle: 0x001a, uuid: 00000100-0001-11e1-ac36-0002a5d5c51b FeatureCompass: handle: 0x001c, char properties: 0x10, char value handle: 0x001d, uuid: 00000040-0001-11e1-ac36-0002a5d5c51b FeatureActivity: handle: 0x001f, char properties: 0x12, char value handle: 0x0020, uuid: 00000010-0001-11e1-ac36-0002a5d5c51b FeatureCarryPosition: handle: 0x0022, char properties: 0x12, char value handle: 0x0023, uuid: 00000008-0001-11e1-ac36-0002a5d5c51b FeatureMemsGesture: handle: 0x0025, char properties: 0x12, char value handle: 0x0026, uuid: 00000002-0001-11e1-ac36-0002a5d5c51b FeatureAudioADPCM: handle: 0x0028, char properties: 0x10, char value handle: 0x0029, uuid: 08000000-0001-11e1-ac36-0002a5d5c51b FeatureAudioADPCMSync: handle: 0x002b, char properties: 0x10, char value handle: 0x002c, uuid: 40000000-0001-11e1-ac36-0002a5d5c51beach characteristic contains 3 description. you must write value 0x0100 to first description of each char (this is an standard method). then sensortile will send you data continuously as notification. you could enable multiple notifications at the same time. notifications will arrive as characteristic value. so you can distinguish notifications. note1: for two first chars, data has following patern: 2byte |
|
|
|
我试图连续读取传感器融合值,但值不会根据传感器的方向而改变。
我确信传感器运行正常,因为它与BlueMS应用程序完美配合。 你可以分享你在上一篇文章中提到的Python脚本吗? 以上来自于谷歌翻译 以下为原文 I tried to read the Sensor fusion values continuously but the values are not changing in correspondence to the sensor's orientation. I am sure that the sensor is functioning properly as it is working perfectly with BlueMS app. Can you please share the Python script which u have been mentioning in the previous post. |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2720 浏览 1 评论
3236 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1807 浏览 1 评论
3645 浏览 6 评论
6033 浏览 21 评论
1334浏览 4评论
208浏览 3评论
196浏览 3评论
对H747I-DISCO写程序时将CN2的st-link复用为usart1,再次烧录时无法检测到stlink怎么解决?
350浏览 2评论
STM32G474RE芯片只是串口发个数据就发烫严重是怎么回事?
441浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-21 01:46 , Processed in 1.162256 second(s), Total 81, Slave 65 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号