# ModbusTCP **Repository Path**: lulibo88/ModbusTCP ## Basic Information - **Project Name**: ModbusTCP - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-10-15 - **Last Updated**: 2023-10-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ModbusTCP jamodTCP库 app测试demo为Android端Modbus从机模式,里面有Modbus4种寄存器的创建方法。 ## 使用方法 ### 1、添加依赖 在工程的build.gradle添加 allprojects { repositories { ... maven { url 'https://jitpack.io' } } } 在app的build.gradle添加 dependencies { compile 'com.github.hwx95:ModbusTCP:v1.1' } ### 2、添加网络权限 ### 3、创建方法具体见MainActivity **注:Android端只能使用1024以上的端口**