Re: What is the criteria for selecting the number of endpoints? (USB & Harmony)
Basically.... an endpoint represents an input or an output (except endpoint 0 which is bi-directional).
So in the example one endpoint is an OUT and the other is an IN.
There is no performance increase by adding more endpoints.... but additional endpoints may be added for other types of transfers, such as: Interrupt, Bulk, Isochronous, or Control ( e.g. - endpoint 0).
MacBook Pro (Retina, 15-inch, Mid 2015) with MacOS High Sierra (10.14.5) and MPLAB X IDE v5.20
Curiosity PIC32MZ EF, PIC24F Curiosity, XPRESS EVAL BOARD (PIC16F18855), SAMA5D3 Xplained and various custom boards.