सार्वजनिक जानकारी से बना चयन मार्गदर्शन। केवल संदर्भ हेतु।
एंड्रॉइड पर ब्लूटूथ सीरियल डिवाइस के साथ कनेक्ट और संचार करने के लिए हल्का फ्लटर पैकेज। यह मानक ब्लूटूथ सीरियल प्रोटोकॉल का उपयोग करके सेंसर, माइक्रोकंट्रोलर या कस्टम आईओटी डिवाइस जैसे संगत हार्डवेयर के साथ फ्लटर ऐप और दोनों तरफ के डेटा ट्रांसफर की अनुमति देता है। लाइब्रेरी कम-स्तरीय ब्लूटूथ ऑपरेशन को अब्स्ट्रैक्ट करती है, स्कैनिंग, पेयरिंग और डेटा भेजने/प्राप्त करने के लिए आसान उपयोग वाला API प्रदान करती है। एंड्रॉइड के लिए विशेष रूप से डिज़ाइन किया गया है, जटिल कॉन्फ़िगरेशन के बिना मूल ब्लूटूथ कार्यक्षमता का समर्थन करता है।
उपयोग
आर्डुइनो-आधारित उपकरणों से कनेक्ट करना
ब्लूटूथ मॉड्यूल से सेंसर डेटा प्रसारित करना
ब्लूटूथ के माध्यम से आईओटी उपकरणों का नियंत्रण
कस्टम हार्डवेयर पेरिफेरल्स के साथ एकीकरण
मोबाइल ऐप्स में रियल-टाइम डेटा एक्सचेंज सक्षम करना
मुख्य विशेषताएँ
ब्लूटूथ संचार के लिए सरल API
केवल Android के लिए समर्थित
द्विदिशात्मक डेटा स्थानांतरण
डिवाइस खोज और जोड़ना
हल्का और न्यूनतम निर्भरता
इनके लिए उपयुक्त
आईओटी एप्लिकेशन डेवलपर्स
हार्डवेयर इंटीग्रेशन प्रोजेक्ट्स
शैक्षिक रोबोटिक्स
एम्बेडेड सिस्टम प्रोटोटाइपिंग
एंड्रॉइड-केवल ब्लूटूथ एप्लिकेशन
विचार योग्य बातें
Android प्लेटफॉर्म तक सीमित
iOS के लिए समर्थन नहीं
मैनिफेस्ट में ब्लूटूथ की अनुमति की आवश्यकता होती है
सीरियल प्रोटोकॉल के डिवाइस संगतता पर निर्भर करता है
उन्नत ब्लूटूथ प्रोफाइल्स के बिना मूल सुविधा सेट
मूल README
संबंधित सोर्स रिपॉज़िटरी के मूल README का स्नैपशॉट। नवीनतम सामग्री के लिए रिपॉज़िटरी देखें।
flutter_bluetooth_serial
Flutter basic implementation for Classical Bluetooth (only RFCOMM for now).
Features
The first goal of this project, started by @edufolly was making an interface for
Serial Port Protocol (HC-05 Adapter). Now the plugin features:
Sending and receiving data (multiple connections).
The plugin (for now) uses Serial Port profile for moving data over RFCOMM, so
make sure there is running Service Discovery Protocol that points to SP/RFCOMM
channel of the device. There could
be max up to 7 Bluetooth connections.
For now there is only Android support.
Funding
Your contribution will help drive the development of quality tools for the
Flutter and Dart developer community. Any amount will be appreciated. Thank you
for your continued support!
PIX
Sua contribuição ajudará a impulsionar o desenvolvimento de ferramentas de
qualidade para a comunidade de desenvolvedores Flutter e Dart. Qualquer quantia
será apreciada. Obrigado pelo seu apoio contínuo!
Getting Started
Depending
# Add dependency to `pubspec.yaml` of your project.dependencies:# ...flutter_bluetooth_serial:^0.4.0