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.13.3) and MPLAB X IDE v4.15
Curiosity PIC MZ EF, PIC24F Curiosity, and XPRESS EVAL BOARD (PIC16F18855).