ANDROID ACCESSORY 通信协议建立过程 -----解析好后可以在单片机做主机来于安卓手机通信

本文详细介绍了 Android Accessory 通信协议的工作原理及其实施步骤,包括如何检测已连接的 Android 设备、判断设备是否支持 accessory 模式、启动设备进入 accessory 模式以及与设备建立通信的过程。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

ZZZZZZZZZZZZz:  http://blog.sina.com.cn/s/blog_6100a4f101018cbe.html

ANDROID ACCESSORY 通信协议建立过程

  (2012-11-23 11:46:36)
标签: 

杂谈

 

accessory

 

android

分类: 技术

http://zwz94.blog.163.com/blog/static/3206039520123374251251/

http://zwz94.blog.163.com/blog/#m=0

http://developer.android.com/tools/adk/index.html

Implementing the Android Accessory Protocol

An Android USB accessory must adhere to Android Accessory Protocol, which defines how an accessory detects and sets up communication with an Android-powered device. In general, an accessory should carry out the following steps:

  1. Wait for and detect connected devices
  2. Determine the device's accessory mode support
  3. Attempt to start the device in accessory mode if needed
  4. Establish communication with the device if it supports the Android accessory protocol

The following sections go into depth about how to implement these steps.

Wait for and detect connected devices

Your accessory should have logic to continuously check for connected Android-powered devices. When a device is connected, your accessory should determine if the device supports accessory mode.

accessory作为host,设备插入后,accessory需要能够检测出该设备是否支持accessory功能。

Determine the device's accessory mode support

When an Android-powered device is connected, it can be in one of three states:

  1. The attached device supports Android accessory mode and is already in accessory mode.
  2. The attached device supports Android accessory mode, but it is not in accessory mode.
  3. The attached device does not support Android accessory mode.

During the initial connection, the accessory should check the vendor and product IDs of the connected device's USB device descriptor. The vendor ID should match Google's ID (0x18D1) and the product ID should be 0x2D00 or 0x2D01 if the device is already in accessory mode (case A). If so, the accessory can now establish communication with the device through bulk transfer endpoints with its own communication protocol. There is no need to start the device in accessory mode.

google默认的accessory vid/pid,如果工作在accessory模式,可直接与android设备建立专属的通信协议。不用再启动accessory模式了。

Note: 0x2D00 is reserved for Android-powered devices that support accessory mode. 0x2D01 is reserved for devices that support accessory mode as well as the ADB (Android Debug Bridge) protocol, which exposes a second interface with two bulk endpoints for ADB. You can use these endpoints for debugging the accessory application if you are simulating the accessory on a computer. In general, do not use this interface unless your accessory is implementing a passthrough to ADB on the device.

If the vendor and product ID do not match, there is no way to distinguish between states b and c, so the accessory attempts to start the device in accessory mode to figure out if the device is supported.

Attempt to start the device in accessory mode

If the vendor and product IDs do not correspond to an Android-powered device in accessory mode, the accessory cannot discern whether the device supports accessory mode and is not in that state, or if the device does not support accessory mode at all. This is because devices that support accessory mode but aren't in it initially report the device's manufacturer vendor ID and product ID, and not the special Android Open Accessory ones. In either case, the accessory should try to start the device into accessory mode to figure out if the device supports it. The following steps explain how to do this:

  1. Send a 51 control request ("Get Protocol") to figure out if the device supports the Android accessory protocol. A non-zero number is returned if the protocol is supported, which represents the version of the protocol that the device supports (currently, only version 1 exists). This request is a control request on endpoint 0 with the following characteristics:
    requestType:    USB_DIR_IN | USB_TYPE_VENDOR
    request:        51
    value:          0
    index:          0
    data:           protocol version number (16 bits little endian sent from the device to the accessory)
  2. If the device returns a proper protocol version, send identifying string information to the device. This information allows the device to figure out an appropriate application for this accessory and also present the user with a URL if an appropriate application does not exist. These requests are control requests on endpoint 0 (for each string ID) with the following characteristics:
    requestType:    USB_DIR_OUT | USB_TYPE_VENDOR
    request:        52
    value:          0
    index:          string ID
    data            zero terminated UTF8 string sent from accessory to device

    The following string IDs are supported, with a maximum size of 256 bytes for each string (must be zero terminated with \0).

    manufacturer name:  0
    model name:         1
    description:        2
    version:            3
    URI:                4
    serial number:      5
  3. When the identifying strings are sent, request the device start up in accessory mode. This request is a control request on endpoint 0 with the following characteristics:
    requestType:    USB_DIR_OUT | USB_TYPE_VENDOR
    request:        53
    value:          0
    index:          0
    data:           none

After sending the final control request, the connected USB device should re-introduce itself on the bus in accessory mode and the accessory can re-enumerate the connected devices. The algorithm jumps back to determining the device's accessory mode support to check for the vendor and product ID. The vendor ID and product ID of the device will be different if the device successfully switched to accessory mode and will now correspond to Google's vendor and product IDs instead of the device manufacturer's IDs. The accessory can now establish communication with the device.

If at any point these steps fail, the device does not support Android accessory mode and the accessory should wait for the next device to be connected.

当android设备首次和accessory连接时,accessory并不知道设备是否支持accessory模式,支持哪些accessory协议,设备也未必正好工作在accessory模式,所以需要发送命令来尝试启动accessory模式。如果启动失败,说明不支持,否则说明支持。

Establish communication with the device

If an Android-powered device in accessory mode is detected, the accessory can query the device's interface and endpoint descriptors to obtain the bulk endpoints to communicate with the device. An Android-powered device that has a product ID of 0x2D00 has one interface with two bulk endpoints for input and output communication. A device with product ID of 0x2D01 has two interfaces with two bulk endpoints each for input and output communication. The first interface is for standard communication while the second interface is for ADB communication. To communicate on an interface, all you need to do is find the first bulk input and output endpoints, set the device's configuration to a value of 1 with a SET_CONFIGURATION (0x09) device request, then communicate using the endpoints.

当检测出accessory模式后,建立通讯。给设备设置合适的配置及接口。

How the ADK board implements the Android Accessory protocol

If you have access to the ADK board and shield, the following sections describe the firmware code that you installed onto the ADK board. The firmware demonstrates a practical example of how to implement the Android Accessory protocol. Even if you do not have the ADK board and shield, reading through how the hardware detects and interacts with devices in accessory mode is still useful if you want to port the code over for your own accessories.

The important pieces of the firmware are the accessory/demokit/demokit/demokit.pde sketch, which is the code that receives and sends data to the DemoKit application running on the Android-powered device. The code to detect and set up communication with the Android-powered device is contained in the accessory/arduino_libs/AndroidAccessory/AndroidAccessory.h andaccessory/arduino_libs/AndroidAccessory/AndroidAccessory.cpp files. This code includes most of the logic that will help you implement your own accessory's firmware. It might be useful to have all three of these files open in a text editor as you read through these next sections.

The following sections describe the firmware code in the context of the algorithm described inImplementing the Android Accessory Protocol.

Wait for and detect connected devices

In the firmware code (demokit.pde), the loop() function runs repeatedly and callsAndroidAccessory::isConnected() to check for any connected devices. If there is a connected device, it continuously updates the input and output streams going to and from the board and application. If nothing is connected, it continuously checks for a device to be connected:

...

AndroidAccessory acc("Google, Inc.",
                     "DemoKit",
                     "DemoKit Arduino Board",
                     "1.0",
                     "http://www.android.com",
                     "0000000012345678");

...
void loop()
{
...
    if (acc.isConnected()) {
        //communicate with Android application
    }
    else{
        //set the accessory to its default state
    }
...
}

Determine the connected device's accessory mode support

When a device is connected to the ADK board, it can already be in accessory mode, support accessory mode and is not in that mode, or does not support accessory mode. TheAndroidAccessory::isConnected() method checks for these cases and responds accordingly when theloop() function calls it. This function first checks to see if the device that is connected hasn't already been handled. If not, it gets the connected device's device descriptor to figure out if the device is already in accessory mode by calling AndroidAccessory::isAccessoryDevice(). This method checks the vendor and product ID of the device descriptor. A device in accessory mode has a vendor ID of 0x18D1 and a product ID of 0x2D00 or 0x2D01. If the device is in accessory mode, then the ADK board can establish communication with the device. If not, the board attempts to start the device in accessory mode.

bool AndroidAccessory::isConnected(void)
{
    USB_DEVICE_DESCRIPTOR *devDesc = (USB_DEVICE_DESCRIPTOR *) descBuff;
    byte err;

    max.Task();
    usb.Task();

    if (!connected &&
        usb.getUsbTaskState() >= USB_STATE_CONFIGURING &&
        usb.getUsbTaskState() != USB_STATE_RUNNING) {
        Serial.print("\nDevice addressed... ");
        Serial.print("Requesting device descriptor.");

        err = usb.getDevDescr(1, 0, 0x12, (char *) devDesc);
        if (err) {
            Serial.print("\nDevice descriptor cannot be retrieved. Program Halted\n");
            while(1);
        }

        if (isAccessoryDevice(devDesc)) {
            Serial.print("found android accessory device\n");

            connected = configureAndroid();
        } else {
            Serial.print("found possible device. switching to serial mode\n");
            switchDevice(1);
        }
    } else if (usb.getUsbTaskState() == USB_DETACHED_SUBSTATE_WAIT_FOR_DEVICE) {
        connected = false;
    }

    return connected;
}

Attempt to start the device in accessory mode

If the device is not already in accessory mode, then the ADK board must determine whether or not it supports it by sending control request 51 to check the version of the USB accessory protocol that the device supports (see AndroidAccessory::getProtocol()). Protocol version 1 is the only version for now, but this can be an integer greater than zero in the future. If the appropriate protocol version is returned, the board sends control request 52 (one for each string withAndroidAcessory:sendString()) to send it's identifying information, and tries to start the device in accessory mode with control request 53. The AndroidAccessory::switchDevice() method takes care of this:

bool AndroidAccessory::switchDevice(byte addr)
{
    int protocol = getProtocol(addr);
    if (protocol == 1) {
        Serial.print("device supports protocol 1\n");
    } else {
        Serial.print("could not read device protocol version\n");
        return false;
    }

    sendString(addr, ACCESSORY_STRING_MANUFACTURER, manufacturer);
    sendString(addr, ACCESSORY_STRING_MODEL, model);
    sendString(addr, ACCESSORY_STRING_DESCRIPTION, description);
    sendString(addr, ACCESSORY_STRING_VERSION, version);
    sendString(addr, ACCESSORY_STRING_URI, uri);
    sendString(addr, ACCESSORY_STRING_SERIAL, serial);

    usb.ctrlReq(addr, 0, USB_SETUP_HOST_TO_DEVICE | USB_SETUP_TYPE_VENDOR |USB_SETUP_RECIPIENT_DEVICE,
                ACCESSORY_START, 0, 0, 0, 0, NULL);
    return true;
}
If this method returns false, the board waits until a new device is connected. If it is successful, the device displays itself on the USB bus as being in accessory mode when the ADK board re-enumerates the bus. When the device is in accessory mode, the accessory then  establishes communication with the device .

Establish communication with the device

If a device is detected as being in accessory mode, the accessory must find the proper bulk endpoints and set up communication with the device. When the ADK board detects an Android-powered device in accessory mode, it calls the AndroidAccessory::configureAndroid() function:

...
if (isAccessoryDevice(devDesc)) {
            Serial.print("found android acessory device\n");

            connected = configureAndroid();
        }
...

which in turn calls the findEndpoints() function:

...
bool AndroidAccessory::configureAndroid(void)
{
    byte err;
    EP_RECORD inEp, outEp;

    if (!findEndpoints(1, &inEp, &outEp))
        return false;
...

The AndroidAccessory::findEndpoints() function queries the Android-powered device's configuration descriptor and finds the bulk data endpoints in which to communicate with the USB device. To do this, it first gets the device's first four bytes of the configuration descriptor (only need descBuff[2] and descBuff[3]), which contains the information about the total length of data returned by getting the descriptor. This data is used to determine whether or not the descriptor can fit in the descriptor buffer. This descriptor also contains information about all the interfaces and endpoint descriptors. If the descriptor is of appropriate size, the method reads the entire configuration descriptor and fills the entire descriptor buffer with this device's configuration descriptor. If for some reason the descriptor is no longer attainable, an error is returned.

...

bool AndroidAccessory::findEndpoints(byte addr, EP_RECORD *inEp, EP_RECORD *outEp)
{
    int len;
    byte err;
    uint8_t *p;

    err = usb.getConfDescr(addr, 0, 4, 0, (char *)descBuff);
    if (err) {
        Serial.print("Can't get config descriptor length\n");
        return false;
    }


    len = descBuff[2] | ((int)descBuff[3] << 8);
    if (len > sizeof(descBuff)) {
        Serial.print("config descriptor too large\n");
            
        return false;
    }

    err = usb.getConfDescr(addr, 0, len, 0, (char *)descBuff);
    if (err) {
        Serial.print("Can't get config descriptor\n");
        return false;
    }

...

Once the descriptor is in memory, a pointer is assigned to the first position of the buffer and is used to index the buffer for reading. There are two endpoint pointers (input and output) that are passed into AndroidAccessory::findEndpoints() and their addresses are set to 0, because the code hasn't found any suitable bulk endpoints yet. A loop reads the buffer, parsing each configuration, interface, or endpoint descriptor. For each descriptor, Position 0 always contains the size of the descriptor in bytes and position 1 always contains the descriptor type. Using these two values, the loop skips any configuration and interface descriptors and increments the buffer with thedescLen variable to get to the next descriptor.

Note: An Android-powered device in accessory mode can potentially have two interfaces, one for the default communication to the device and the other for ADB communication. The default communication interface is always indexed first, so finding the first input and output bulk endpoints will return the default communication endpoints, which is what the demokit.pde sketch does. If you are writing your own firmware, the logic to find the appropriate endpoints for your accessory might be different.

android设备在accessory模式下一般有两个接口,第一个是默认的通信接口,第二是adb接口。

When it finds the first input and output endpoint descriptors, it sets the endpoint pointers to those addresses. If the findEndpoints() function finds both an input and output endpoint, it returns true. It ignores any other endpoints that it finds (the endpoints for the ADB interface, if present).

...
    p = descBuff;
    inEp->epAddr = 0;
    outEp->epAddr = 0;
    while (<</span> (descBuff + len)){
        uint8_t descLen = p[0];
        uint8_t descType = p[1];
        USB_ENDPOINT_DESCRIPTOR *epDesc;
        EP_RECORD *ep;

        switch (descType) {
        case USB_DESCRIPTOR_CONFIGURATION:
            Serial.print("config desc\n");
            break;

        case USB_DESCRIPTOR_INTERFACE:
            Serial.print("interface desc\n");
            break;

        case USB_DESCRIPTOR_ENDPOINT:
            epDesc = (USB_ENDPOINT_DESCRIPTOR *)p;
            if (!inEp->epAddr && (epDesc->bEndpointAddress & 0x80))
                ep = inEp;
            else if (!outEp->epAddr)
                ep = outEp;
            else
                ep = NULL;

            if (ep) {
                ep->epAddr = epDesc->bEndpointAddress & 0x7f;
                ep->Attr = epDesc->bmAttributes;
                ep->MaxPktSize = epDesc->wMaxPacketSize;
                ep->sndToggle = bmSNDTOG0;
                ep->rcvToggle = bmRCVTOG0;
            }
            break;

        default:
            Serial.print("unkown desc type ");
            Serial.println( descType, HEX);
            break;
        }

        p += descLen;
    }

    if (!(inEp->epAddr && outEp->epAddr))
        Serial.println("can't find accessory endpoints");

    return inEp->epAddr && outEp->epAddr;
}

...

Back in the configureAndroid() function, if there were endpoints found, they are appropriately set up for communication. The device's configuration is set to 1 and the state of the device is set to "running", which signifies that the device is properly set up to communicate with your USB accessory. Setting this status prevents the device from being re-detected and re-configured in theAndroidAccessory::isConnected() function.

bool AndroidAccessory::configureAndroid(void)
{
    byte err;
    EP_RECORD inEp, outEp;

    if (!findEndpoints(1, &inEp, &outEp))
        return false;

    memset(&epRecord, 0x0, sizeof(epRecord));

    epRecord[inEp.epAddr] = inEp;
    if (outEp.epAddr != inEp.epAddr)
        epRecord[outEp.epAddr] = outEp;

    in = inEp.epAddr;
    out = outEp.epAddr;

    Serial.print("inEp: ");
    Serial.println(inEp.epAddr, HEX);
    Serial.print("outEp: ");
    Serial.println(outEp.epAddr, HEX);

    epRecord[0] = *(usb.getDevTableEntry(0,0));
    usb.setDevTableEntry(1, epRecord);

    err = usb.setConf( 1, 0, 1 );
    if (err) {
        Serial.print("Can't set config to 1\n");
        return false;
    }

    usb.setUsbTaskState( USB_STATE_RUNNING );

    return true;
}

Lastly, methods to read and write to the appropriate endpoints are needed. The demokit.pde sketch calls these methods depending on the data that is read from the Android-powered device or sent by the ADK board. For instance, moving the joystick on the ADK shield writes data that is read by the DemoKit application running on the Android-powered device. Moving sliders on the DemoKit application is read by the demokit.pde sketch and changes the state of the accessory, such as lighting up or changing the color of the LED lights.

int AndroidAccessory::read(void *buff, int len, unsigned int nakLimit) {
  return usb.newInTransfer(1, in, len, (char *)buff, nakLimit); }

int AndroidAccessory::write(void *buff, int len) {
  usb.outTransfer(1, out, len, (char *)buff);
  return len; }

See the firmware/demokit/demokit.pde file for information about how the ADK board reads and writes data.

<think>好的,我现在需要帮助用户理解Android中的android.hardware.usb.UsbDevice类。用户之前询问过关于Android USB免驱的问题,现在可能是在开发中遇到了具体需要操作USB设备的情况,或者想更深入了解如何通过代码控制USB设备。 首先,我得回忆一下UsbDevice的作用。它属于Android USB Host API的一部分,用于表示连接的USB设备,提供设备的基本信息如厂商ID、产品ID等。用户可能想知道如何获取这些信息,或者如何与设备通信。 接下来,用户可能关心如何在实际代码中使用这个类。比如,如何枚举设备,获取接口和端点,建立连接,传输数据等。需要给出具体的步骤和示例代码,但之前的回复中已经有一些Java代码示例,可能需要更详细说明每个步骤的作用。 另外,用户可能对权限问题有疑问,比如是否需要用户授权,如何在AndroidManifest中声明权限,或者如何处理动态权限请求。需要强调权限的重要性,以及如何正确请求和获取权限。 用户还可能想知道UsbDevice和UsbAccessory的区别,这时候需要简要说明两者的不同应用场景,避免混淆。 此外,异常处理也是关键。在实际开发中,设备可能突然断开,或者传输失败,需要如何处理这些情况,保证应用的健壮性。 最后,用户可能对实际应用场景感兴趣,比如连接打印机、传感器或其他外设,这时候可以举一些常见的用例,帮助用户更好地将理论应用到实践中。 需要确保回答结构清晰,分点说明,包括类的作用、关键方法、使用步骤、权限处理、示例代码、注意事项等。同时,语言要简洁明了,避免过于技术化的术语,让不同层次的开发者都能理解。</think>`android.hardware.usb.UsbDevice` 是 Android USB Host API 中的核心类,用于表示一个已连接的 USB 设备。它提供了访问设备信息、接口、端点(Endpoint)以及直接通信的能力。以下是详细解析--- ### **一、核心作用** 1. **表示物理设备** `UsbDevice` 对象对应一个实际连接的 USB 设备(如 U 盘、键盘、传感器等)。 2. **获取设备元数据** 通过该类可获取设备的厂商 ID(VID)、产品 ID(PID)、设备类别(Class)、协议版本等关键信息。 3. **操作设备的基础** 结合 `UsbManager`、`UsbInterface` 和 `UsbEndpoint` 等类,实现对 USB 设备的通信控制。 --- ### **二、关键方法与属性** | 方法/属性 | 说明 | |----------|------| | `getDeviceId()` | 返回设备的唯一标识符(系统分配,非固定值) | | `getVendorId()` | 获取厂商 ID(VID),如 `0x1234` | | `getProductId()` | 获取产品 ID(PID),如 `0x5678` | | `getDeviceClass()` | 设备大类(如 `UsbConstants.USB_CLASS_HID`) | | `getDeviceSubclass()` | 设备子类 | | `getDeviceProtocol()` | 设备协议 | | `getInterface(int index)` | 获取指定索引的接口(`UsbInterface`) | | `getInterfaceCount()` | 设备包含的接口总数 | --- ### **三、典型使用流程** #### **1. 获取已连接的 USB 设备** ```java UsbManager usbManager = (UsbManager) getSystemService(Context.USB_SERVICE); HashMap<String, UsbDevice> deviceList = usbManager.getDeviceList(); for (UsbDevice device : deviceList.values()) { // 遍历所有连接的 USB 设备 Log.d("USB", "Device: " + device.getDeviceName()); } ``` #### **2. 请求设备权限** 在操作设备前,需动态申请权限(用户需手动授权): ```java // 定义权限请求广播接收器 private static final String ACTION_USB_PERMISSION = "com.example.USB_PERMISSION"; private final BroadcastReceiver usbPermissionReceiver = new BroadcastReceiver() { @Override public void onReceive(Context context, Intent intent) { if (ACTION_USB_PERMISSION.equals(intent.getAction())) { UsbDevice device = intent.getParcelableExtra(UsbManager.EXTRA_DEVICE); if (intent.getBooleanExtra(UsbManager.EXTRA_PERMISSION_GRANTED, false)) { // 权限已授予,可操作设备 } } } }; // 注册广播接收器并请求权限 PendingIntent permissionIntent = PendingIntent.getBroadcast(this, 0, new Intent(ACTION_USB_PERMISSION), 0); usbManager.requestPermission(device, permissionIntent); ``` #### **3. 打开设备并通信** ```java // 获取设备接口和端点 UsbInterface usbInterface = device.getInterface(0); UsbEndpoint endpointIn = null, endpointOut = null; // 遍历端点(输入/输出) for (int i = 0; i < usbInterface.getEndpointCount(); i++) { UsbEndpoint endpoint = usbInterface.getEndpoint(i); if (endpoint.getDirection() == UsbConstants.USB_DIR_IN) { endpointIn = endpoint; // 输入端点(设备→主机) } else { endpointOut = endpoint; // 输出端点(主机→设备) } } // 打开设备连接 UsbDeviceConnection connection = usbManager.openDevice(device); connection.claimInterface(usbInterface, true); // 发送数据(示例) byte[] data = "Hello USB".getBytes(); int sent = connection.bulkTransfer(endpointOut, data, data.length, 500); // 接收数据(示例) byte[] buffer = new byte[64]; int received = connection.bulkTransfer(endpointIn, buffer, buffer.length, 500); ``` --- ### **四、注意事项** 1. **权限声明** 在 `AndroidManifest.xml` 中需添加: ```xml <uses-feature android:name="android.hardware.usb.host" /> <uses-permission android:name="android.permission.MANAGE_USB" /> <!-- 部分设备需要 --> ``` 2. **兼容性限制** - 仅支持 USB Host 模式的设备(需硬件支持)。 - Android 3.1(API 12)及以上版本支持 Host API。 3. **资源释放** 使用后需释放资源,避免内存泄漏: ```java connection.releaseInterface(usbInterface); connection.close(); ``` 4. **异常处理** - 设备可能被突然断开,需监听 `UsbManager.ACTION_USB_DEVICE_DETACHED` 广播。 - 通信时需处理超时(`bulkTransfer` 的 `timeout` 参数)。 --- ### **五、常见应用场景** 1. **自定义外设控制** 如连接单片机(Arduino)、传感器(温度/湿度)等。 2. **数据采集设备** 工业仪表、医疗设备等通过 USB 传输数据。 3. **免驱设备扩展** 使用标准协议(如 HID、CDC-ACM)的键盘、串口转换器等。 --- ### **六、与 UsbAccessory 的区别** | 对比项 | `UsbDevice` | `UsbAccessory` | |--------|-------------|----------------| | **模式** | Host 模式(Android 作为主机) | Accessory 模式(Android 作为外设) | | **典型设备** | U 盘、键盘 | 专用配件(需支持 Android Accessory 协议) | | **通信主导权** | Android 主动控制 | 配件主动控制 | --- ### **总结** `android.hardware.usb.UsbDevice` 是 Android 实现 USB Host 功能的核心类,开发者可通过它直接操作符合标准协议的 USB 设备。使用时需注意权限管理、接口配置及异常处理。对于非标准设备,可能需要结合内核驱动或用户态协议解析来实现完整功能。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值