The Peripheral is the device generating or serving the data. The Centr การแปล - The Peripheral is the device generating or serving the data. The Centr ไทย วิธีการพูด

The Peripheral is the device genera

The Peripheral is the device generating or serving the data. The Central is the device consuming these data. Starting with iOS 6, an iOS device can be both a Peripheral and a Central (never at the same time).

Each of the two components is represented by a class of the Core Bluetooth framework. The Central is represented by the CBCentralManager class, while the Peripheral is represented by the CBPeripheralManager one.

On the Central, a CBPeripheral object represents the corresponding Peripheral that the Central is connected to. Similarly, on the Peripheral, the CBCentral object represents the client the Peripheral connected to.

You can also think of the Peripheral as the device broadcasting the data. It starts advertising to the external world that it has some data. So, it advertises that it can provide services. On the other side, the Central starts to scan the environment looking for some service. If the Central finds the wanted service, then it asks the Peripheral to connect. Once the connection is established, the 2 devices start to exchange data.

Besides the Central and the Peripheral, we have to consider the structured data they exchange. These data are structured in Services. Each Service is then composed by different Characteristics. Characteristics are defined attribute types that contain a single logical value. If you go to http://developer.bluetooth.org, you can find the list of the standardized services and characteristics.

On the Central, services are represented by the CBService class. Each of the services is then composed by characteristics represented by the CBCharacteristic class. Similarly, the services and the characteristics on the Peripheral are represented by the CBMutableService class and the CBMutableCharacteristicclass, respectively. The following Fig. 2 highlights the structure of the classes as explained until now.
0/5000
จาก: -
เป็น: -
ผลลัพธ์ (ไทย) 1: [สำเนา]
คัดลอก!
The Peripheral is the device generating or serving the data. The Central is the device consuming these data. Starting with iOS 6, an iOS device can be both a Peripheral and a Central (never at the same time).

Each of the two components is represented by a class of the Core Bluetooth framework. The Central is represented by the CBCentralManager class, while the Peripheral is represented by the CBPeripheralManager one.

On the Central, a CBPeripheral object represents the corresponding Peripheral that the Central is connected to. Similarly, on the Peripheral, the CBCentral object represents the client the Peripheral connected to.

You can also think of the Peripheral as the device broadcasting the data. It starts advertising to the external world that it has some data. So, it advertises that it can provide services. On the other side, the Central starts to scan the environment looking for some service. If the Central finds the wanted service, then it asks the Peripheral to connect. Once the connection is established, the 2 devices start to exchange data.

Besides the Central and the Peripheral, we have to consider the structured data they exchange. These data are structured in Services. Each Service is then composed by different Characteristics. Characteristics are defined attribute types that contain a single logical value. If you go to http://developer.bluetooth.org, you can find the list of the standardized services and characteristics.

On the Central, services are represented by the CBService class. Each of the services is then composed by characteristics represented by the CBCharacteristic class. Similarly, the services and the characteristics on the Peripheral are represented by the CBMutableService class and the CBMutableCharacteristicclass, respectively. The following Fig. 2 highlights the structure of the classes as explained until now.
การแปล กรุณารอสักครู่..
ผลลัพธ์ (ไทย) 2:[สำเนา]
คัดลอก!
อุปกรณ์คอมพิวเตอร์เป็นอุปกรณ์การสร้างหรือการให้บริการข้อมูล กลางเป็นอุปกรณ์การบริโภคข้อมูลเหล่านี้ เริ่มต้นด้วย iOS 6, อุปกรณ์ iOS สามารถเป็นได้ทั้งอุปกรณ์ต่อพ่วงและกลาง (ไม่เคยได้ในเวลาเดียวกัน). แต่ละสองส่วนเป็นตัวแทนจากระดับของกรอบหลักของบลูทู ธ กลางเป็นตัวแทนจากชั้น CBCentralManager ขณะที่อุปกรณ์ต่อพ่วงเป็นตัวแทนจากหนึ่ง CBPeripheralManager. ในภาคกลางวัตถุ CBPeripheral แสดงให้เห็นถึงอุปกรณ์ต่อพ่วงที่สอดคล้องกันว่ากลางที่เชื่อมต่อกับ ในทำนองเดียวกันกับอุปกรณ์ต่อพ่วง, วัตถุ CBCentral เป็นตัวแทนของลูกค้าอุปกรณ์คอมพิวเตอร์ที่เชื่อมต่อกับ. นอกจากนี้คุณยังสามารถคิดอุปกรณ์คอมพิวเตอร์เป็นอุปกรณ์กระจายเสียงข้อมูล มันเริ่มต้นการโฆษณากับโลกภายนอกที่ว่ามันมีข้อมูลบางส่วน ดังนั้นจึงประกาศว่าจะสามารถให้บริการ ในอีกด้านหนึ่งกลางเริ่มที่จะสแกนสภาพแวดล้อมที่กำลังมองหาบริการบางอย่าง ถ้ากลางพบว่าบริการที่ต้องการแล้วก็ถามต่อพ่วงในการเชื่อมต่อ เมื่อการเชื่อมต่อที่มีการจัดตั้งขึ้น 2 อุปกรณ์เริ่มต้นในการแลกเปลี่ยนข้อมูล. นอกจากกลางและอุปกรณ์ต่อพ่วงเราจะต้องพิจารณาข้อมูลที่มีโครงสร้างที่พวกเขาแลกเปลี่ยน ข้อมูลเหล่านี้มีโครงสร้างในการบริการ บริการแต่ละประกอบด้วยแล้วโดยลักษณะที่แตกต่างกัน ลักษณะจะมีการกำหนดประเภทแอตทริบิวต์ที่มีค่าตรรกะเดียว ถ้าคุณไปที่ http://developer.bluetooth.org คุณสามารถหารายชื่อของการให้บริการที่ได้มาตรฐานและลักษณะ. ในกลางการให้บริการเป็นตัวแทนจากชั้น CBService แต่ละบริการประกอบด้วยแล้วโดยลักษณะที่แสดงโดยชั้น CBCharacteristic ในทำนองเดียวกันการบริการและลักษณะที่เกี่ยวกับอุปกรณ์คอมพิวเตอร์จะแสดงโดยชั้น CBMutableService และ CBMutableCharacteristicclass ตามลำดับ ต่อไปนี้รูป ไฮไลท์ 2 โครงสร้างของชั้นเรียนตามที่ได้อธิบายมาจนถึงตอนนี้









การแปล กรุณารอสักครู่..
ผลลัพธ์ (ไทย) 3:[สำเนา]
คัดลอก!
อุปกรณ์ต่อพ่วงที่เป็นอุปกรณ์ผลิตหรือให้บริการข้อมูล กลางเป็นอุปกรณ์ที่บริโภคข้อมูลเหล่านี้ เริ่มต้นกับ iOS 6 , อุปกรณ์ iOS ได้ทั้งอุปกรณ์ต่อพ่วงและส่วนกลาง ( ไม่พร้อมกัน ) .

แต่ละองค์ประกอบทั้งสองจะถูกแสดง โดยหลักของบลูทูธรุ่นกรอบ กลางแสดงโดย cbcentralmanager คลาสในขณะที่อุปกรณ์แสดงโดย cbperipheralmanager หนึ่ง

บนกลาง วัตถุ cbperipheral เป็นอุปกรณ์ต่อพ่วงที่กลางที่เชื่อมต่ออยู่ ในทํานองเดียวกันกับอุปกรณ์ต่อพ่วง วัตถุ cbcentral แทนลูกค้าอุปกรณ์พ่วงต่อกับ

นอกจากนี้คุณยังสามารถคิดของอุปกรณ์ต่อพ่วงและอุปกรณ์ออกอากาศข้อมูลเริ่มต้นโฆษณากับโลกภายนอกว่ามันมีข้อมูลบางอย่าง ดังนั้น มันโฆษณาว่าสามารถให้บริการ อีกด้านหนึ่ง กลางเริ่มสแกนสิ่งแวดล้อมมองหาบริการ ถ้ากลางพบต้องการบริการ จากนั้นก็ถามต่อพ่วงเพื่อเชื่อมต่อ เมื่อการเชื่อมต่อจะจัดตั้งขึ้น , 2 อุปกรณ์เริ่มแลกเปลี่ยนข้อมูล

อีกอย่างกลางและอุปกรณ์ต่อพ่วงเราต้องพิจารณาข้อมูลที่มีโครงสร้างที่พวกเขาแลกเปลี่ยน ข้อมูลเหล่านี้มีโครงสร้างในการบริการ แต่ละบริการจะประกอบไปด้วยลักษณะที่แตกต่างกัน ลักษณะจะกำหนดประเภทคุณลักษณะที่ประกอบด้วยตรรกะเดียวค่า ถ้าคุณไป http://developer.bluetooth.org คุณสามารถหารายชื่อของบริการที่ได้มาตรฐานและลักษณะ .

บนกลางบริการเป็นตัวแทนของ cbservice ชั้นเรียน แต่ละบริการจะประกอบไปด้วยลักษณะที่แสดงโดยคลาส cbcharacteristic . ส่วนบริการและคุณลักษณะที่ต่อพ่วงจะแสดงโดย cbmutableservice ชั้นเรียนและ cbmutablecharacteristicclass ตามลำดับ ตามรูปที่ 2 เน้นโครงสร้างของบทเรียนตามที่อธิบายไว้จนถึงตอนนี้
การแปล กรุณารอสักครู่..
 
ภาษาอื่น ๆ
การสนับสนุนเครื่องมือแปลภาษา: กรีก, กันนาดา, กาลิเชียน, คลิงออน, คอร์สิกา, คาซัค, คาตาลัน, คินยารวันดา, คีร์กิซ, คุชราต, จอร์เจีย, จีน, จีนดั้งเดิม, ชวา, ชิเชวา, ซามัว, ซีบัวโน, ซุนดา, ซูลู, ญี่ปุ่น, ดัตช์, ตรวจหาภาษา, ตุรกี, ทมิฬ, ทาจิก, ทาทาร์, นอร์เวย์, บอสเนีย, บัลแกเรีย, บาสก์, ปัญจาป, ฝรั่งเศส, พาชตู, ฟริเชียน, ฟินแลนด์, ฟิลิปปินส์, ภาษาอินโดนีเซี, มองโกเลีย, มัลทีส, มาซีโดเนีย, มาราฐี, มาลากาซี, มาลายาลัม, มาเลย์, ม้ง, ยิดดิช, ยูเครน, รัสเซีย, ละติน, ลักเซมเบิร์ก, ลัตเวีย, ลาว, ลิทัวเนีย, สวาฮิลี, สวีเดน, สิงหล, สินธี, สเปน, สโลวัก, สโลวีเนีย, อังกฤษ, อัมฮาริก, อาร์เซอร์ไบจัน, อาร์เมเนีย, อาหรับ, อิกโบ, อิตาลี, อุยกูร์, อุสเบกิสถาน, อูรดู, ฮังการี, ฮัวซา, ฮาวาย, ฮินดี, ฮีบรู, เกลิกสกอต, เกาหลี, เขมร, เคิร์ด, เช็ก, เซอร์เบียน, เซโซโท, เดนมาร์ก, เตลูกู, เติร์กเมน, เนปาล, เบงกอล, เบลารุส, เปอร์เซีย, เมารี, เมียนมา (พม่า), เยอรมัน, เวลส์, เวียดนาม, เอสเปอแรนโต, เอสโทเนีย, เฮติครีโอล, แอฟริกา, แอลเบเนีย, โคซา, โครเอเชีย, โชนา, โซมาลี, โปรตุเกส, โปแลนด์, โยรูบา, โรมาเนีย, โอเดีย (โอริยา), ไทย, ไอซ์แลนด์, ไอร์แลนด์, การแปลภาษา.

Copyright ©2026 I Love Translation. All reserved.

E-mail: