Table of Contents  1. To do a good job, one must first sharpen one's tools 2. Essentials for Startup 3. Updating apt-get sources and software search 4. Installing .NET Core 5. File Transfer 6. Searching and Installing Software 7. Commonly Missing xxx.so 8…

2019年12月15日 1条评论 1153点热度 0人点赞 痴者工良 阅读全文

目录  一,工欲善其事,必先利其器 二,开机必备 三,更新 apt-get 源与软件搜索 四,安装 .NET Core 五,文件传输 六,搜索与安装软件 七,常见缺少的 xxx.so 八,小技巧与工具 一,工欲善其事,必先利其器 1,下载系统 树莓派官方下载系统地址 https://www.raspberrypi.org/downloads/ 注意: 除了下面这三个,其它均为第三方系统。这三个是树莓派适配的自己的 Linux 系统。 NOOBS 是一个系统安装器,同时也是一个系统,适合入门的新手,自定义安…

2019年12月15日 1条评论 5210点热度 0人点赞 痴者工良 阅读全文

  ( .NET Core Dragon Balls ) 1. Support of IOT Platforms First, let's take a look at some excellent cloud computing IOT platforms in China (excluding specific product developer platforms like QQ Connect, Xiaomi IOT, etc., only listing some cloud computing…

2019年12月15日 2条评论 2542点热度 0人点赞 痴者工良 阅读全文

  ( .NET Core 七龙珠 ) 一、IOT 平台的支持 先看国内优秀的云计算IOT平台(不含QQ互联、小米IOT等针对特定产品的开发者平台,仅列出部分云计算厂商的IOT平台) 阿里云 IOT https://iot.aliyun.com/ 华为物联网 https://developer.huawei.com/ict/cn/site-iot-next 腾讯云 物联网通讯 https://cloud.tencent.com/product/iothub 百度云 天工 https://cloud.bai…

2019年12月15日 2条评论 4541点热度 0人点赞 痴者工良 阅读全文

1. Creating Alibaba Cloud IoT Products and Devices Currently, Alibaba Cloud offers 1 million free data usage each month, allowing users to utilize both the basic and premium versions without any cost after activation. Alibaba Cloud IoT platform address: https:…

2019年12月15日 1条评论 1233点热度 0人点赞 痴者工良 阅读全文

  一,创建阿里云 IOT 产品、设备 目前阿里云每月赠送 100 万条流量,可以免费使用基础版、高级版,开通后即可免费使用。 阿里云 IOT 平台地址 https://iot.console.aliyun.com/product 登陆开通后,新建测试产品、设备。 创建产品 产品的定义是,一类硬件、功能、外形完全相同的设备。所以,添加一个产品后,我们就可以在此类别下添加成千上万个设备。 下面的信息要选、设备、非网关,原因后面说。   设定一个产品 创建一个产品后,就需要设定这个产品的特…

2019年12月15日 1条评论 4270点热度 0人点赞 痴者工良 阅读全文

  Operating environment: Visual Studio 2017 How to achieve embedded development using C#? Although .NET Core allows for cross-platform development, it is not feasible to use C# everywhere, just as no one uses SQL to develop Android apps. Each language has…

2019年12月15日 2条评论 4090点热度 0人点赞 痴者工良 阅读全文

  操作环境:Visual Studio 2017 如何实现 使用 C# 进行嵌入式开发? .NET Core 虽然实现了跨平台,但是不可能处处使用 C# 开发,就好像没人使用SQL开发安卓APP,每种语言都有其优秀的地方和局限性。 就传感器、32位、16位嵌入式设备,可能只有那么几KB的存储器,那些串口、针脚、电路、信号,只能使用C语言开发。就Linux来说,Linux 本身是C语言开发的,面向C语言有丰富的接口支持和兼容,还有很多地方只能使用C语言。 底层应用可以用C语言来完成,如果要开发一个网站、一…

2019年12月15日 2条评论 4072点热度 0人点赞 痴者工良 阅读全文

1. Introduction (Copy of Zhang's Dragon Ball) The 5G era is approaching, and the development of IOT will be like a tiger with wings. The cross-platform .NET Core is showing more and more implementation examples in various aspects. This example by the author de…

2019年12月15日 3条评论 1590点热度 5人点赞 痴者工良 阅读全文

    一,开题 (Copy 张队的七龙珠) 5G时代已经快来临, IOT 的发展会如虎添翼~ .NET Core 跨平台在各方面开发出现越来越多的实现例子,笔者的这个示例是在树莓派Linux 上实现直连对接阿里云IOT平台。 背景信息:    使用 阿里云的 原因: 【阿里云】物联网平台邀您免费试用,现在开通每月赠送100万条流量:http://tb.cn/NzsIUHw【便捷】支持开源MQTT、阿里云官方SDK、AliOS Things等多种方式接入,最快10分…

2019年12月15日 3条评论 6422点热度 5人点赞 痴者工良 阅读全文

In a .NET Core project (library), using Entity Framework, the database generation fails when establishing the model. Could not load assembly 'xxx'. Ensure it is referenced by the startup project 'xxx'. Switching to 64-bit can resolve the issue. Assuming ef cod…

2019年12月15日 0条评论 1400点热度 14人点赞 痴者工良 阅读全文

在.NET Core 项目钟(类库),使用Entity Framework,建立模型生成数据库时,失败 Could not load assembly 'xxx'. Ensure it is referenced by the startup project 'xxx'. 改成 64 位即可 假设 ef 代码 public class ApplicationDbContext : IdentityDbContext<User> { public ApplicationDbContext(DbContex…

2019年12月15日 0条评论 7471点热度 14人点赞 痴者工良 阅读全文

4 My board is an Orange Pi 3, and I can only describe it as "卧槽"... I work with .NET Core, and I just can't get this board to work. I have flashed the Debian system on it. To be honest, this board is quite good, but the official system is really not commendabl…

2019年12月15日 0条评论 1338点热度 0人点赞 痴者工良 阅读全文

4我的板子是 Orange pi 3,只能以 卧槽来形容。。。 我是搞.net core的,这板子死活搞不了。 刷的是Debain系统。 说实话,这个板子不错,可就是官方的系统实在不敢恭维,内核旧,软件兼容性不行。 不说废话了。 背景 板子系统Debain,内核 4.9,只适配了GCC 4.9. 我要安装 .net core 3 arm64 无法运行,因为要求 GCC version > 5.2   网上的方法,大多是copy的,要下载gcc源码包,然后编译。我想说,你就算用 8G 内存的电脑,解压…

2019年12月15日 0条评论 4231点热度 0人点赞 痴者工良 阅读全文

CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none First Sync the System Time Input the command in shell date If the displayed time is different from your local time, set the time zone first cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime Change the …

2019年12月15日 1条评论 5373点热度 0人点赞 痴者工良 阅读全文

CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none 先同步系统时间 shell 输入命令 date 如果显示的时间跟你本地时间不一样,先设置时区 cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime 更改 apt-get 源 对于开发板来说,千万别乱改官方源,上面问题的根源是不支持https,所以先把源都改成http 原文件备份 sudo cp /etc/apt/sources.list /etc/apt…

2019年12月15日 1条评论 5325点热度 0人点赞 痴者工良 阅读全文

  In the Rancher UI, when adding a host and running in the shell via SSH, clicking the "Shutdown" button showed no information about the host. First, check whether the application is functioning normally by going to Applications - All Applications. If it …

2019年12月15日 0条评论 4668点热度 0人点赞 痴者工良 阅读全文

  在 Rancher UI 中,添加主机,在 Shell ssh 运行了,然后 点击 “关闭” 按钮,发现没有显示如何主机。 第一步,先去查看应用是否正常,就是 应用 - 全部应用 如果显示是 unhealthy ,说明不正常。 解决方法1: 去云主机的控制台,打开安全组,开发500、4500端口,因为服务器默认有防火墙、安全组,会拦截端口   解决方法2: 1,删除一些文件 rm -rf /var/lib/rancher/state 2,删除 agent 容器 #列出…

2019年12月15日 0条评论 4308点热度 0人点赞 痴者工良 阅读全文

 Directory 1. Introduction 2. Install Virtual Serial Port Software 3. Create a New Project and Add flyfire.CustomSerialPort 4. Description of flyfire.CustomSerialPort 5. Start Using flyfire.CustomSerialPort 6. Implement Writing Data to Serial Port 7. Impl…

2019年12月15日 1条评论 1240点热度 0人点赞 痴者工良 阅读全文

 目录 1,前言 2,安装虚拟串口软件 3,新建项目,加入 flyfire.CustomSerialPort 4,flyfire.CustomSerialPort 说明 5,开始使用 flyfire.CustomSerialPort 6,实现把数据写入串口 7,实现监听串口消息、多设备进行通讯 8,Modbus 协议的实现例子 1,前言 开发环境:在 Visual Studio 2017,.NET Core 2.x 串口通讯用于设备之间,传递数据,物联网设备中广泛使用串口方式连接通讯,…

2019年12月15日 1条评论 4242点热度 0人点赞 痴者工良 阅读全文
1434445464754