-
-
资料从这里下:
http://www.wangchaochao.top/2019/03/09/uFun-1/
有原理图
这个板子都有飞线。可能和《ufun时钟问题更改》有关。
-
收到了uFun开发板,从这里找到资料:http://www.wangchaochao.top/2019/03/09/uFun-1/
小巧的板子,主控STM32F103永不过时呀,还集成了很多外设,虽然已过了多年,但仍然可以看得出当年设计者的独具匠心。
感谢EEWORLD,感谢开发板提供者。
要多多攒积分,争取每年都可以获得幸运盲盒,呵呵。
-
活动很好,才看到,积分很少,已花了100积分兑换
-
lugl4313820 发表于 2024-11-2 21:57
大佬,可以分享一下您的小程源码吗?
建议参考微信官方的资料,很详细:
https://developers.weixin.qq.com/miniprogram/dev/framework/device/ble.html
有些UP主在bilibili上也有视频说明。
https://esp-document.icce.top/%E5%B0%8F%E7%A8%8B%E5%BA%8F%E5%BC%80%E5%8F%91/18%E3%80%81%E5%B0%8F%E7%A8%8B%E5%BA%8F%E5%A2%9E%E5%8A%A0%E8%93%9D%E7%89%99%E9%80%9A%E4%BF%A1%E5%8A%9F%E8%83%BD.html
-
赞
学习了:
如果定义多个特征值报0x87错,虽然头文件定义是内寸不足
#define BLE_STATUS_OUT_OF_MEMORY ((tBleStatus)(0x87))
但是调整CFG_BLE_NUM_GATT_ATTRIBUTES可以解决
CFG_BLE_NUM_GATT_ATTRIBUTES
CFG_BLE_NUM_GATT_ATTRIBUTES must be ≥ 2.
Parameter Description:
Maximum number of Attributes that can be stored in the GATT database
When a GATT characteristic is added to the database a minimum of 2 attribute records are needed: one for the characteristic declaration and one for the characteristic value. On top of this, additional records may be needed based on the characteristic properties, in particular:
- If the characteristic has the notify or indicate property set, then one additional attribute record is needed.
- If the characteristic has the broadcast property set, then one additional attribute record is needed.
- If the characteristic has the extended property set, then one additional attribute record is needed.
In summary, one characteristic may need from 2 to 5 attribute records depending on the characteristic properties.
-
赞。
学习了:
如果想触发ACI_GATT_SRV_READ_VSEVT_CODE,需要将Characteristic type设为Non-buffered。
-
本帖最后由 sujingliang 于 2024-10-6 14:34 编辑
1、printf需要重定向
2、app_ble.c中540行左右可能需要自己加一下(好像已经加了):
/* USER CODE BEGIN APP_BLE_Init_4 */
APP_BLE_Procedure_Gap_Peripheral(PROC_GAP_PERIPH_ADVERTISE_START_FAST);
/* USER CODE END APP_BLE_Init_4 */
-
时钟不对,应该像上面这样配
-
感谢呀,今天用楼主的方法解决了2个板子。
这个板子识别不到芯片的这个问题,今天我也遇到了。而且另一个H7板子也出了这个问题。真快被吓着了。怪不得这些板子都特意设计boot引脚选择,问题还是挺频发的。
-
麻烦问一下,第一次参加电子工程世界不太了解流程,我回复本贴比较晚,是在9月9日。
至今没有收到开发板,看到别人都有评测报告出来了,有些心慌了。
我是不是被取消了评审资格了,我看到规定里是有这么一条确认晚了会被取消资格。
如果被取消资格也只能怨自己了。
-
个人信息无误,确认可以完成测评分享计划